Example Json Server Workspace With React App

  • /packages/api - contains the server and the db json file
  • client contains the react application

JSON Server

$ cd packages/api
$ yarn run start

This will run the API on http://localhost:3000

React App

$ cd client
$ yarn run start

This will run the client on http://localhost:3001