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.