This project replicates the front end of a vending machine using React
, Material UI
, Redux
and React Router
. It also includes a mocked BE build with json-server
.
/src
โโโ /components # React FC components
โโโ /mocks # A mocked BE powered by json-server
โโโ /pages # Page entrypoints for the app
โโโ /redux # Redux store sclices
โโโ /App.* # App files
โโโ /api.ts # Handles all the interactions with BE
โโโ /store.tsx # Redux store
โโโ /types.tsx # Interfaces definition
To start the application.
To launch the test runner in the interactive watch mode.
To start a mocked backend json-server for testing purposes.