Code Monkey home page Code Monkey logo

at-bristol-online-booking-interface's Introduction

SPE Booking

Mock interface for adding bookings. This app can be used as either a home booking or a booking done via a terminal outside of @bristol. Bookings done via the terminal also go into the recent bookings collection which allows them to be shown to the front desk worker.

Documention

Usage

$ git clone https://github.com/begly/spe-booking.git
$ cd spe-booking
$ npm install
$ npm start

Now open http://localhost:5000.

Firebase interaction

Uses the spe-bookings firebase project.

Writes bookings to booking collection and uses an event watcher to then add to the recent bookings collection. Bookings consists of documents of the form:

{
  "email": "[email protected]",
  "quantity": "2",
  "timestamp": 1481721844976
}

Recent bookings collection contains a list of IDs of recent bookings to be used by the front desk interface.

Code

Entry point for this app is index.html and all logic is contained within main.js.

at-bristol-online-booking-interface's People

Contributors

alex-a-robinson avatar begly avatar lukestorry avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.