Skip to content

vladivolgin/Web-development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

New project for SE_19

🌍 Welcome to Hotel Booking 🌟

Hotel Booking

🚀 Project Overview

Hotel Booking is an all-in-one platform to find and book the best hotels around the world! 🏨 Our goal is to make travel planning easier, more affordable, and more exciting.

  • Fast and Reliable 🏎️
  • User-Friendly Interface 💻
  • Wide Range of Hotels 🏝️
  • Secure Booking System 🔒

✨ Features

Features Home Page: Overview of the application and navigation to key sections. Bookings Page: List all existing bookings, with options to edit or delete each booking. Create Booking: Form to add a new booking with essential details (user name, hotel name, check-in and check-out dates). Edit Booking: Modify existing booking details. User Profiles: Each user has a profile page with their booking history.

Requirements

  • Python 3.7+
  • PostgreSQL
  • pip

🛠️ Technologies Used

This project is built using the following technologies:

  • Frontend: HTML5, CSS3, JavaScript
  • Backend: Python
  • Version Control: Git & GitHub

File Structure

myflask/ │ ├── app.py

├── requirements.txt

├── .env

├── templates/

│ ├── home.html

│ ├── about.html

│ ├── booking_confirm_delete.html

│ ├── booking_form.html

│ ├── user_profile.html

│ └── booking_list.html

└── static/

│ ├── styles.css

│ └── images/

Usage

Home Page: Navigate to the home page to start browsing or creating bookings. Create a Booking: Select "Create a New Booking" to open the booking form. Edit a Booking: Select a booking and click "Edit" to modify details. Delete a Booking: Select "Delete" on any booking to remove it.

Installation

  1. Clone the repository: https://github.com/vladivolgin/Web-development
  2. Install dependencies:
pip install -r requirements.txt

Running the Application

  1. Ensure your PostgreSQL database is running.

  2. Run database migrations:

flask db upgrade
  1. Start the application:

Option 1: Using Flask run

flask run

Option 2: Using Python directly

python3 app.py
  

Contact For more information or questions, please reach out at [vlad.ivolgin@code.berlin].

About

Web dev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors