A REST API for food recipes.
Another version of my previous API recipeAPI
- Node.js
- Express.js
- MongoDB (Mongoose.js)
- JWT
- Bcrypt
- install the required dependencies
- run the API with the command
npm start
- Test the API using Postman / CURL commands.
- Login: http://localhost:5000/recipeapi/auth/login
- Signup: http://localhost:5000/recipeapi/auth/signup
- Get Recipes: http://localhost:5000/recipeapi/recipes
- Add new Recipe: http://localhost:5000/recipeapi/add-recipe
- Edit Recipe: http://localhost:5000/recipeapi/edit-recipe/:id
- Delete Recipe: http://localhost:5000/recipeapi/delete-recipe/:id