-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
José Antonio Zamudio Amaya edited this page Dec 8, 2022
·
4 revisions
Clone the repo (https://github.com/fisg4/ms-users) and enter the root folder:
$ git clone https://github.com/fisg4/ms-users
$ cd ms-users
Once inside, run the dependency installer:
$ npm install
You will need MongoDB installed in your computer (install MongoDB), create a new database named "test" and run the following:
$ npm start
Connect to MongoDB Atlas following these steps:
- Create the file ".env" in the root folder of the project
- Ask mods for the Atlas DB credentials, and append the information provided in the .env file, it should look something like
DB_URL="mongodb+srv://superuser:<password>@users-service.5nzx63g.mongodb.net/test"
Then, depending on your OS, you will need to run different commands. Run "$ npm run start-linux" if you're on a UNIX environment or "$ npm run start-windows" if you're on Windows.