This repo contains a working redux app which makes API calls for CRUD on restaurants and reviews.
It follows idiomatic RESTful conventions, including nested routes for the SPA and the API.
Unfortunately, all the API calls are failing, because it hasn't been written yet. Your job is to:
- Start the server in your IDE
cd client && yarn install && yarn start
to run the client- Open the network panel in chrome
- Use exploratory testing to cause the client to make API calls to the server
- Note the API route, method, and body of each request
- Implement the necessary server code to handle the requests
- When all requests function correctly, you are done!
- Be sure to create both controllers and services, placing the correct logic in each
- Do not use a database - keep all data in memory
- Write unit tests for your services