An open API service indexing awesome lists of open source software.

https://github.com/manmohit12/auth-api

🔐 This is a secure RESTful API where only authenticated users of the application can access protected data.
https://github.com/manmohit12/auth-api

express nodejs rest-api ssr

Last synced: 2 months ago
JSON representation

🔐 This is a secure RESTful API where only authenticated users of the application can access protected data.

Awesome Lists containing this project

README

          

## 🔐 Authenticated User API

This API is built with security in mind. Only users who are **registered and logged in** can access protected routes.
We use **JWT authentication** to authorize users and ensure that all data is securely accessed.

### 🔑 Key Features:
- User registration & login
- Passwords are hashed before storage
- JWT token-based authentication (valid for 4 hours)
- Protected route: `/api/users` (accessible only with a valid token)