To run the app you need to setup few files which are environment and needs to be unique per app
Steps I
- open the repository in terminal
- cd
booking-microservice
- create a
.env
file - Set the values
PORT=9100
ATLAS_URI=<your-database-url>
SECRET=any-secret
PUBLIC_URL=http://localhost:3000/
JWT_KEY=any-key
Steps II
- open the repository in terminal
- cd
user-microservice
- create a
.env
file - Set the values
PORT=9300
ATLAS_URI=<your-database-url>
SECRET=any-secret
PUBLIC_URL=http://localhost:3000/
JWT_KEY=any-key
ATLAS_URI_TEST=<your-database-url>
Steps III
- open the repository in terminal
- cd
flight-microservice
- create a
.env
file - Set the values
PORT=9000
ATLAS_URI=<your-database-url>
SECRET=any-secret
PUBLIC_URL=http://localhost:3000/
JWT_KEY=any-key
Steps IV
- open the repository in terminal
- cd
user-details-microservice
- create a
.env
file - Set the values
PORT=9200
ATLAS_URI=<your-database-url>
SECRET=any-secret
PUBLIC_URL=http://localhost:3000/
JWT_KEY=any-key