This project aims refactor an application from JS to TS and Class Components to Functional Components.
- Install dependencies:
npm i
- Run JSON server
npm run server
API running on http://localhost:3333. Available routes:
- GET, POST /foods
- GET, POST, PUT, DELETE /foods/:foodId
- Run development server
npm start
Open http://localhost:3000 with your browser to see the result.