https://github.com/diegohpezet/authserver-nodejs
Express boilerplata that includes a JWT auth system
https://github.com/diegohpezet/authserver-nodejs
authentication express jsonwebtoken nodejs
Last synced: 3 months ago
JSON representation
Express boilerplata that includes a JWT auth system
- Host: GitHub
- URL: https://github.com/diegohpezet/authserver-nodejs
- Owner: diegohpezet
- License: mit
- Created: 2024-08-03T22:16:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T22:16:08.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T08:18:37.651Z (over 1 year ago)
- Topics: authentication, express, jsonwebtoken, nodejs
- Language: TypeScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Authorization TypeScript API
This is a TypeScript API for authorization. It provides a simple way to manage user roles and permissions. The API is built using Express.js and Sequelize.
## Features
- User registration and login
- Permission-based access control
- Token-based authentication
- Password hashing and salting
## Installation
1. Clone the repository
2. Install the dependencies
3. Run the server
## Usage
1. Register a new user
2. Login with the registered user
3. Access protected routes with the token
## API Endpoints
- POST api/auth
- POST api/auth/refresh
- GET api/users
- GET api/users/:id
- PUT api/users/:id
- DELETE api/users/:id
## Contributing
If you would like to contribute to this project, please fork the repository and create a pull request with your changes.
## Author
[diegohpezet](https://github.com/diegohpezet)
## License
This project is licensed under the MIT License.