Application for buying foods & drinks at the office
- Node.js >= 6
- A server running the REST API backend (not needed for dummy testing)
- Open a terminal
- Run
cd Nibble2
(or where you cloned the repository to) - Run
yarn
to install dependencies - Copy and paste
constants.example.js
toconstants.js
and fill in fields inapp/src/common/constants.js
- Run
yarn dev
to build and run a webpack development server (webpack-dev-server
) - The application will be hosted on port
8080
(localhost:8080
if hosting on your own machine)
This is useful if you want to avoid having to scan a RFID tag when logging in.
Open constants.js
and make sure MOCK
is set to true
. Upon visiting the site now, all you have to do is hit <Return>
to log in to the test user.