This is a Python project that allows users to view and write reviews for restaurants. The project includes a Django web application that manages restaurants, reviews, users, and menu items.
To get started with the project, clone the repository and navigate to the project directory:
git clone https://github.com/yourusername/restaurant-reviews.git
cd Restaurant-Recommendation-WebSite
This project requires Python 3 and Django. If you don't have Python installed, you can download it from the official website. To install Django, run the following command:
pip install Django
This will start the web server on http://localhost:8000/. You can access the application by opening this URL in your web browser.
The Restaurant Reviews application has the following features:
- Viewing a list of restaurants
- Viewing details of a restaurant, including its address, phone number, website, hours of operation, menu, and user reviews
- Writing a review for a restaurant, including a rating and comment
- Viewing all reviews for a restaurant
- Marking a review as a favorite
- Viewing a list of favorite restaurants for a user
- Updating a user's profile information, including username, email, and password
- Code Structure
The project is structured as follows:
manage.py
: the command-line utility for interacting with the Django projectrestaurant_reviews/
: the main Django applicationsettings.py
: the configuration file for the applicationurls.py
: the URL routing file for the applicationmodels.py
: the data models for the applicationviews.py
: the view functions for the applicationtemplates/
: the HTML templates for the applicationstatic/
: the static assets (CSS, JavaScript, etc.) for the applicationdb.sqlite3
: the SQLite database used by the application
Contributions to this project are welcome! If you find a bug or would like to suggest a new feature, please open an issue on GitHub. If you would like to contribute * code, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.