/simple-auth

Plain Authentication API

Primary LanguageJavaScriptMIT LicenseMIT

Simple Auth

Plain Authentication API

Features

  • Signup and Login with a security token.
  • Store token on browser cookies.
  • Safely secures password in the database with encryption.
  • Refresh expired token.
  • Returns user info.

Setup and test

  • Make sure you have Node.js and Docker installed in your machine.
  • Run the following commands:

    • Setup packages and .env file: npm install and cp .env.example .env
    • Build and run database: docker-compose up -d
    • Run WebServer in developer mode: npm run dev

Author


@izaiasmachado

Contributors

Any contributor will be displayed on the README.md!