Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 721 Bytes

File metadata and controls

25 lines (16 loc) · 721 Bytes

RADFish Cruise App

Demo Cruise App

Mock API

This project uses json-server to mock API endpoints. The endpoints are defined in the db.json file in the root of the project.

The project includes a starter db file db.json.original. To use the json-server make a copy of db.json.original --> db.json. As you work make edits to the db through the API the db.json file will be updated. To "reset", just copy the db.json.original over db.json.

To use the mock API run

npm run serve:json

This should produce the following output letting you know it is running.

JSON Server started on PORT :5000
Press CTRL-C to stop
Watching db.json...

♡⸜(˶˃ ᵕ ˂˶)⸝♡