Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create d database named hotel containing 4 collections Hotels,Rooms,Users,Bookings.

Insert documents in the collections as per the required data in respective collections.

Please follow the Schemas inside /models/ folder for inserting data.

Booking.js:

Booking collection contains userId which is user object id which is ASSUMED to be assigned when user logs in and the same id would be used as session id. 

Booking collection contains roomno which is room object id which can be used to get details of that particular room and is assigned to the booking collection.

About

Hotel management project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages