I'm a US Navy Veteran passionate about programming. I believe in the idea of the eternal student, and that a growth mindset is the key to success.
overlook-hotel's Introduction
overlook-hotel's People
overlook-hotel's Issues
User can delete booking through DELETE request
Deleting an upcoming booking will require a DELETE request to the bookings endpoint, like so:
{
id: 12085397154
}
User can POST to book room
https://fe-apps.herokuapp.com/api/v1/overlook/1904/bookings/bookings
{
"userID": 48,
"date": "2019/09/23",
"roomNumber": 4
}
Add Manager Dash info`
As manager,
should se info regarding the days revenue and bookings
Extend Manager from User Class
As a manager:
I should be able to search for any user by name and:
View their name, a list of all of their bookings, and the total amount they’ve spent
Add a room booking for that user
Delete any upcoming room bookings for that user (they cannot delete a booking from the past)
Create Manager class extension testing
Create testing for manager class extension with Mocha/Chai
Remove userID arguments
As Dev,
remove 'userId' arguments in User class methods, instead swapping to this.id in code black
Add VIP star in DOM for customer spending
If customer spends over a certain amount, add a gold star/VIP status next to their name in the manager portal
Create DOM manipulation object file
As dev,
Create separate file with DOM object to handle all DOM manipulations
Create User class testing
Create testing for User class functionality using mocha/chai
Fetch Data for User, Rooms and Bookings
Create Login for User and Manager
Your app should support two different types of users: a customer and a manager. When first arriving at the site, a user should be able to log in with a username and password. If it is a manager logging in, they should log in with the following credentials:
username: manager
password: overlook2020
If it is a customer logging in, they should log in with the following credentials:
username: customer50 (where 50 is the ID of the user)
password: overlook2020
Remove userID from arg
As Dev,
remove 'userId' arguments in User class methods, instead swapping to this.id in code black
Create Manager Dashboard
As a manager, upon logging in:
I should see a dashboard page that shows me:
Total Rooms Available for today’s date
Total revenue for today’s date
Percentage of rooms occupied for today’s date
Create index.js testing
Ensure functonality for index.js with chai/mocha testing suite
Apologize To Customer
In the event that no rooms are available for the date/roomType selected, display a message fiercely apologizing to the user and asking them to adjust their room search
Create hotel object testing
Should test functionality of hotel object
Create Manager Chart
As manager, I should see a chart with next weeks booking projections
Room Filter Options
As a user,
Should have a series of checkboxes that allow filtering by room type, additively.
Create Customer Dashboard
As a customer, upon logging in:
I should see a dashboard page that shows me:
Any room bookings I have made (past or present/upcoming)
The total amount I have spent on rooms
Create Hotel Object
Object should have:
- Collection of room info
- Collection of bookings
Should be able to:
- show a list of room details for only rooms that are available on a given date
- filter rooms by room type
Create User Class
Properties:
- ID
- Name
- Money Spent
As a customer:
-
I should be able to select a date for which I’d like to book a room for myself
-
Upon selecting a date, I should be shown a list of room details for only rooms that are available on that date
-
I should be able to filter the list of available rooms by their roomType property
-
I should be able to select a room for booking
-
In the event that no rooms are available for the date/roomType selected, display a message fiercely apologizing to the user and asking them to adjust their room search
-
should be able to see the amount spent on rooms (Get all past dates matching user ID, sum)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.