The Hotel Booking Web App is designed to streamline hotel operations by offering real-time room availability, unique room access codes, and contactless check-ins, which target reduced travel-related stress and enhance user convenience and safety.
- Real-time room availability
- Contactless check-ins and checkouts
- User-focused design prioritizing privacy and security
To run this project locally, ensure you have the following installed:
- Node.js (version 16.x or above)
- npm (Node Package Manager)
- Angular CLI (version 14.2.1)
-
Clone the Repository
git clone https://github.com/damianleng/hotel-booking-web-app.git cd hotel-booking-web-app
-
Install Angular CLI globally
npm install -g @angular/[email protected]
-
Navigate to your project folder
cd path/to/hotel-booking-web-app
-
Install Dependencies
Navigate to the client directory and install the necessary dependencies:
cd client npm install
-
Start the Angular server with
ng serve
Ensure config.env
File is Present
Make sure the config.env
file is located in the server folder. config.env
file is included in the blackboard submission
- Navigate to the Server Folder
cd ../server
- Install Server Dependencies
Install the required server dependencies:
npm install
- **Start the Server **
Start the backend server with
node server
- Configure the Connection String
Ensure that you have the latest
config.env
files. - Verfiy Access
- Ensure that your IP address is whitelisted in MongoDB Atlas under Network Access in the Atlas dashboard.
- Confirm the connection by running the server and checking for a successful connection message in the console.