Skip to content

EatRoulette/EatRoulette-API

Repository files navigation

EatRoulette-API

This is the API of the EatRoulette project

Installation

Install the project :

git clone https://github.com/EatRoulette/EatRoulette-API.git
cd EatRoulette-API

Install node modules :

npm i

Connect your MongoDB database

For step you will need Docker. To start your MongoDB container:

docker run -d -p "27017:27017" -e MONGO_INITDB_ROOT_USERNAME=USERNAME -e MONGO_INITDB_ROOT_PASSWORD=PASSWORD mongo

Create the file .env with the following content :

API_PORT=#YourPORT
MONGO_URI=#YourURI
MONGO_USER=#YourUSER
MONGO_PASS=#YourPASSWORD
MONGO_AUTH_SOURCE=#YourAUTHSOURCE

Finally you can start the API :

npm start

About

This is the NodeJS API of the EatRoulette project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •