MamathaSainath / testspringapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RESTful Restaurants

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.

TODO

Unfortunately, all the API calls are failing, because it hasn't been written yet. Your job is to:

  1. Start the server in your IDE
  2. cd client && yarn install && yarn start to run the client
  3. Open the network panel in chrome
  4. Use exploratory testing to cause the client to make API calls to the server
  5. Note the API route, method, and body of each request
  6. Implement the necessary server code to handle the requests
  7. When all requests function correctly, you are done!

Execution Notes

  1. Be sure to create both controllers and services, placing the correct logic in each
  2. Do not use a database - keep all data in memory
  3. Write unit tests for your services

About


Languages

Language:JavaScript 69.9%Language:Java 17.6%Language:HTML 10.1%Language:CSS 2.4%