Elanigiro / NodeReservations

Simple reservation system developed using Node.js, Express.js, and Bootstrap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeReservations

Home Page

This is a NodeJS application based on the Express web framework.

The application allows the user to manage a list of reservations with an easy-to-use interface.

Backend

The Backend is fairly simple:

  • RESTController.js is used to manage all the CRUD operations on the data
  • FilesController.js is used to retrieve the data (or a subset) as a CSV file
  • The data is managed in memory (Map object) and is persisted in a CSV file kept in sync at every operation
Note: All GET/PUT/DELETE ops respect idempotency

Frontend

The Frontend takes advantage of Bootstrap and custom JavaScript code to manage both the presentation layer and the client-side logic.

Finally, the Fetch API takes care of all the HTTP calls to the Backend.

Menu Date Filter Edit Dialog New Reservation

External resources and dependencies:

  • Express
  • Bootstrap
  • cors
  • csv-parse
  • csv-stringify
  • multer
  • nodemon
  • os

About

Simple reservation system developed using Node.js, Express.js, and Bootstrap.


Languages

Language:JavaScript 71.4%Language:HTML 27.4%Language:CSS 1.1%