ctg-locations-service

Stars
1

Pre-requisites

  • Node.js LTS installed on your machine
  • MongoDB Atlas cluster set up

How to run

1. Clone this repository in a folder:

git clone [email protected]:arielweinberger/ctg-locations-service.git

2. Make sure you cd int othe project folder

cd ctg-locations-service

3. Install NPM dependencies

npm install

(NPM will know what to install based on the package.json file)

4. Modify the MongoDB connection string in src/index.js (copy from MongoDB Atlas)

5. Make sure you have Nodemon installed for a better development experience

npm install -g nodemon

6. Run the project

nodemon src/index.js

Enjoy!

The service should be available at http://localhots:3000