Skip to content

This is a Django project that defines several models for a restaurant review and rating system

Notifications You must be signed in to change notification settings

GUEZIR-HAMZA/Restaurant-Recommendation-WebSite

Repository files navigation

Restaurant-Recommendation-WebSite

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.

Getting Started

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

Prerequisites

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.

Features

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 project
  • restaurant_reviews/: the main Django application
  • settings.py: the configuration file for the application
  • urls.py: the URL routing file for the application
  • models.py: the data models for the application
  • views.py: the view functions for the application
  • templates/: the HTML templates for the application
  • static/: the static assets (CSS, JavaScript, etc.) for the application
  • db.sqlite3: the SQLite database used by the application

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

This is a Django project that defines several models for a restaurant review and rating system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published