Auth Micro service for Sapia. The service contains two endpoints which are for user registration and login
#APP Technologies
- The application is developed with Node Js, Typescript, MongoDB as the core technologies.
- Redis was used for caching of user login attempt
- Iyasunday was used as a custom utility package for throw accurate error messages and other utility purposes.
- Other Techologies includes; docker, github, Joi, Jest
#POSTMAN COLLECTION LINK:- https://www.getpostman.com/collections/d69cfdde08b2493feb93
#APP PORT:- 6000 #BASE_URL:- http://127.0.0.1:6000/v1/
#ENDPOINTS CREATED
#HOW TO RUN THE APPLICATION
- Running with Docker NOTE: Before running the application, you should have docker and docker-compose installed on your machine
- Run "tsc" command on the terminal of the project folder,to build the /dist folder
- Build & Start the application and Database by running the command: docker-compose up
2.Running with NPM NOTE: Before running the application, you should have Nodejs, MongoDb, Typescript and node-typescript installed globally
- Run "tsc" command on the terminal of the project folder,to build the /dist folder
- Run "npm run dev" to start the server for development
- Run "npm run prod" to start the application for production