adcimon / auth-server

General-purpose HTTP-based authentication and authorization server.

Home Page:https://adcimon.github.io/auth-server/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://adcimon.github.io/auth-server/api

License:MIT License


Languages

Language:TypeScript 55.0%Language:HTML 37.2%Language:CSS 7.8%