Skip to content

preshndams/sapia

Repository files navigation

sapia

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

  1. http://127.0.0.1:6000/v1/user/register
  2. http://127.0.0.1:6000/v1/user/login

#HOW TO RUN THE APPLICATION

  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published