https://github.com/anjola-adeuyi/jwt_auth_fullstack
https://github.com/anjola-adeuyi/jwt_auth_fullstack
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anjola-adeuyi/jwt_auth_fullstack
- Owner: anjola-adeuyi
- Created: 2024-02-25T21:06:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-26T04:19:18.000Z (over 1 year ago)
- Last Synced: 2025-02-17T23:07:21.248Z (8 months ago)
- Language: TypeScript
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
// - **POST /api/users** - Register new user
// - **POST** `/api/users/auth` - Authenticate user and set token
// - **POST** `/api/users/logout` - Logout user and clear cookie// - **GET** `/api/users` - Get all users
// - **GET** `/api/users/profile` - Get user profile
// - **GET** `/api/users/:id` - Get user by ID// - **PUT** `/api/users/profile` - Update user profile
// - **PUT** `/api/users/:id` - Update user by ID// - **DELETE** `/api/users/:id` - Delete user