Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
/ Nibble2 Public archive

App for buying food and drinks at the office

License

Notifications You must be signed in to change notification settings

dotkom/Nibble2

Repository files navigation

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.