/Nibble2

App for buying food and drinks at the office

Primary LanguageJavaScriptMIT LicenseMIT

Nibble 2

Application for buying foods & drinks at the office

Nibble shop

Requirements

Setup

  • Open a terminal
  • Run cd Nibble2 (or where you cloned the repository to)
  • Run yarn to install dependencies
  • Copy and paste constants.example.js to constants.js and fill in fields in app/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)

Using a mock user for development

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.