Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.72 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.72 KB

Overview

Overlook is a hotel management tool for hotel customers and staff to manage room bookings and calculate customer bills. Customers can see their own past and future bookings, total spent amount for all time or reserve a new room.

Screenshot 2022-11-15 at 10 59 13 AM

Screenshot 2022-11-15 at 10 59 31 AM

Goals and Objectives

  • Use OOP to drive the design of the application and the code
  • Work with an API to send and receive data
  • Solidify the code review process
  • Create a robust test suite that thoroughly tests all functionality of a client-side application

Local setup

  • git clone the repo to your local machine
  • run npm install to download all necessary dependencies
  • run npm start to run the server
  • open localhost:8080 (unless your terminal says otherwise)
  • use customer1 (or any other number from 1 to 50, a number is an id of user) as username and overlook2021 as a password to go to manager board

Tech Stack

  • HTML, CSS
  • JS
  • Chai & Mocha
  • Webpack
  • Fetch API for receiving 3rd party data

Wins

  • Having a project board to manage workload
  • Independently building the whole app with client-server interactions
  • Completing all functionality for customer and login

Challenges

  • Making GET, POST requests
  • Adding login functionality with credential validation
  • Covering all possible errors to make them visible for users
  • Creating connections between different classes and defining functionality for each of them