Construisez une API sécurisée pour une application d'avis gastronomiques
You will need to have Node and npm
installed locally on your machine.
-
Clone this repo.
-
Move into the back_end folder with
cd back_end/
-
Run
npm install
. That will install the back end API on your local system. -
Copy .env.example to .env and set you environment
-
Run the server with
npm run start
. The server should run onlocalhost
with default port3000
. If the server runs on another port for any reason, this is printed to the console when the server starts, e.g.Listening on port 3001
. -
Then move into the front_end folder with
cd front_end/
-
Run
npm install
. That will install the front end application on your local system. -
Run the npm scrypt
npm run start
. The server should run onlocalhost
with default port4200
You can find the API's documentation at the following :
localhost:3000/api/docs