This is the backend for the Frontend Integration assignment. It's the same recipes-api server from the Middleware assignment, already built and working, so you have a known-good backend to pair with recipes-frontend-starter.
- Fork this repository to your own GitHub account.
- Clone your fork locally:
git clone <your-fork-url> cd recipes-api-starter- Install dependencies:
npm install - Start the server:
node app.js(ornpm run devto auto-restart on changes)
Check it: Your terminal shows Server running on port 8080. Open http://localhost:8080/api/recipes in your browser — you should see 5 recipes as JSON.
Leave this running in its own terminal the whole time you work on recipes-frontend-starter.
GET /api/recipesGET /api/recipes/:idPOST /api/recipesPATCH /api/recipes/:idDELETE /api/recipes/:idGET /api/recipes/:recipeId/reviewsPOST /api/recipes/:recipeId/reviewsDELETE /api/reviews/:id