Skip to content

SarangaBRanasinghe/ballerina-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Ballerina JWT Authentication Service

A simple REST API for user authentication using JWT tokens built with Ballerina.

Features

  • User login with email and password
  • JWT token generation with HMAC SHA256 signing
  • Protected route secured by JWT token validation

Getting Started

Prerequisites

  • Ballerina Swan Lake 2201.12.7 or compatible
  • ballerina/jwt module version 2.15.0

Running the Service

  1. Clone the repo:
git clone https://github.com/yourusername/auth-sample.git
cd auth-sample

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors