Skip to content

XavierElon/xsj-users-microservice

Repository files navigation

xsj-users-microservice

Custom user auth microservice built in TypeScript/Node and Mongo with Firebase integration for Google Auth

Environment variables

First you will need to copy the .env.example template

cp .env.example .env

Then you will need to setup the following environment variables found in .env.example to your corresponding MongoDB credentials/info: MONGO_ATLAS_URI, QUERY_PARAMETERS, DB_NAME, DB_USER_PASSWORD, DB_USER, DB_USERS_COLLECTION_USERS


To run locally

Install node modules

npm install

Run locally

npm run dev

The microservice will be running locally at http://localhost:1017/