Skip to content

diegohpezet/AuthServer-NodeJS

Repository files navigation

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

License

This project is licensed under the MIT License.

About

Express boilerplata that includes a JWT auth system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors