hotel-booking Svelte Themes

Hotel Booking

(collage project) a hotel booking website built with svelte and mysql

hotel-booking

(collage project) a hotel booking website built with svelte and mysql

Technologies Used

  • Frontend: Svelte
  • Backend: Node.js, Express.js
  • Database: MySQL

Getting Started

  1. Clone the repository:

    git clone https://github.com/jr4dh3y/hotel-booking/
    
  2. Navigate to the project directory:

     cd hotel-booking
    
  3. Install the dependencies for both the frontend and backend:

    npm install
    
  4. Set up the database:

    • Create a MySQL database and import the db.sql file located in the backend/mysql-query directory.
    • Update the database connection details in the db.js file in the backend directory.
  5. Start the application:

    npm start
    
    • This will start both the frontend and backend servers.
  • Note:
    1. The backend server will be running on http://localhost:3000 by default.
    2. You can change the port in the backend/server.js file if needed.
    3. Make sure to have MySQL server running and the database created before starting the backend server.

Screenshots

Main Page Hotel Rooms Rooms Login Page

Top categories

Loading Svelte Themes