A basic restaurant menu management UI with ReactJS and Typescript.
node >= 12.0.0
- Clone this repo locally and install the required packages:
$ git clone https://github.com/librity/ignite_restaurant.git
$ cd ignite_restaurant
$ yarn install
- Start a json server (mock backend):
$ yarn server
- Start a dev server:
$ yarn start
- Open http://localhost:3000 on your web browser.
On the home screen, you can edit, delete and disable items.
You can create a new item by clicking in Novo Prato
.
- https://www.tutorialspoint.com/typescript/typescript_interfaces.htm
- https://stackoverflow.com/questions/61475289/property-value-does-not-exist-on-type-never-when-use-useref-hook-in-mui
- https://www.pluralsight.com/guides/defining-props-in-react-function-component-with-typescript
- https://www.logicbig.com/tutorials/misc/typescript/interface-describing-function.html