Skip to content

adcimon/auth-server

Repository files navigation

Auth Server

General-purpose HTTP-based authentication and authorization server. Built with Node.js and Nest.js.

Features

  • User registration and verification via email.
  • Basic authentication using email and password.
  • Authorization using JSON Web Tokens.
  • Delete not verified users after the verification token expires.
  • Reset password via email.
  • Change email address via email.
  • API documentation available.

Install

  1. Configure the .env file.

  2. Install Node 16.

  3. Install packages.

cd auth-server
npm install

Run

Run the server for development, debug or production.

cd auth-server
npm run start:dev
npm run start:debug
npm run start:prod

Build

Build the project, compiling it to JavaScript.

cd auth-server
npm run build

Once the dist folder is created start the application.

node dist/main.js

About

General-purpose HTTP-based authentication and authorization server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published