StudAid Authentication Microservice

code style: prettier Commitizen friendly Conventional Commits

Before starting - dev stage

npm run build
npm run start:dev

Before starting - dev stage

npm run start:dev

Routes

  • Auth
    • Confirm Account
    • Login User
    • Logout User
    • Refresh Token
    • Forgot Password
    • Reset Password
  • User
    • Register New User
    • Get Current User
    • Change Password
    • Update User
  • Platform
    • Google
    • Facebook

Project Structure

Name Description
config/ Project's Configuration
config/jwt/ JWT private, public keys from OpenSSL
src/ Source files
src/@types/ Custom Type Roots
src/config/ Application configuration
src/core/ Reusable library source code like env configuration
src/db/ DB connect and migration
src/helpers/ Helper Funtions like dates, token extractions
src/middleware/ Middlewares like error handler, authentication
src/modules/ Source Modules like user, auth
src/providers/ Third party services such as mailer, google
src/utils/ Frequently used services such as logger, responses