- A
db.json
file with data for your backend- This command starts the server:
json-server --watch db.json
- Server can be found at:
http://localhost:3000/ballers
- This command starts the server:
- See the Ballers from the server, including name, image, and cash amount when the page loads
- Click on the cash amount and increase by a million dollars, lol
- Add a comment form to each baller that shows comments when the form is submitted