this API is created mainly to be used by tebsi frontend
GET : /api/recipe : list of all recipes populated by their ingredients
GET : /api/ingredient : list of all ingredients
the POST methods are only accessible by an admin with a token verification as a middleware (see code)
most of the code used is from : mern-exercise-tracker-mongodb
$ git clone https://github.com/medamineamara/tebsi-backend.git
$ npm i