currentDate
.currentDate
.currentDate
.currentDate
chai-spies
where appropriateOpen your terminal and clone the repo using git clone git@github.com:Abdeboskey/Overlook.git
.
cd
into the repository and open it in your favorite text editor.
From the root of this directory, run npm install
to download the dependencies.
To get dependencies for testing with chai-spies, run npm install chai-spies
.
If you would like to run tests, run npm test
from the root directory in your terminal.
To launch the application run npm start
and navigate to http://localhost:8080/
in your favorite browser.
manager
and the password overlook2020
customer[number 1-50]
and the password overlook2020
This project was by far the biggest solo project I have been assigned during my time at Turing. I had quite honestly not done a great job of taking good care of myself up until this point of this mod, and by the time I started working on this application I was already quite burned out. I became very overwhelmed by the size of this project, and my brain just seemed to short circuit. I had a very hard time making much progress, and when I did it was very slow going.
Part of the challenge came from not completing enough of my previous projects to feel like I knew how to do the things that this project required. Part of it was the short turnaround. All in all, a number of things contributed to this project seeming like an "impossible task", and I had a really hard time overcoming that.
Despite not completing as much functionality as I wanted to, I am very proud of the design and the UI on this application. I learned some exciting new tools with scss, and I will definitely count the UI and design as a win.
I was able to achieve an accessibility score of 100 using lighthouse in the devtools to audit the application.
I was able to correctly fetch the starting data from the APIs, and use it to dynamically update the guest and manager dashboards.
I successfully put all Dom-Manipulation methods in their own class and implemented chai-spies
in testing, which was a first for me and a personal learning goal on this project.
On Login, guests would be able to click buttons to view their past, and future reservations at The Overlook, and cancel future reservations if they choose.
Guests should be able to search for a new reservation by date, filter the results by room type and maximum cost, view the available results, and book a room for a future stay at the Overlook. The new booking would send a POST
request to the API and update the database with the booking.
Managers would be able to search for a guest by name or ID, view their information, (name, all bookings, and total amount spent at the Overlook) and add bookings or cancel future bookings for that guest.