A simple REST API for user authentication using JWT tokens built with Ballerina.
- User login with email and password
- JWT token generation with HMAC SHA256 signing
- Protected route secured by JWT token validation
- Ballerina Swan Lake 2201.12.7 or compatible
ballerina/jwtmodule version 2.15.0
- Clone the repo:
git clone https://github.com/yourusername/auth-sample.git
cd auth-sample