Skip to content

Little Lemon Website developed for the client๐Ÿ’ป๐Ÿ‹

Notifications You must be signed in to change notification settings

HamzaSajjad141/Little-Lemon-Restaurant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Little Lemon Restaurant ๐Ÿ‹

Welcome to the Little Lemon Restaurant Django web project! This project is designed to showcase a simple restaurant website with features like booking, menu display, and more.

Screenshot 2024-03-01 204145

Project Structure ๐Ÿ“‚

  • Project Name: Little Lemon
  • App Name: Restaurant

Code Files ๐Ÿ–ฅ๏ธ

  • settings.py: Django settings file with configurations for the project.
  • urls.py: URL configuration for routing requests to views.
  • wsgi.py: WSGI configuration for deployment.

App Files ๐Ÿฝ๏ธ

  • models.py: Defines two models - Booking and Menu.
  • admin.py: Registers models with the Django admin panel.
  • apps.py: Configuration for the restaurant app.
  • forms.py: Defines a form for booking.
  • urls.py: URL patterns for the restaurant app.
  • views.py: Contains views for rendering different pages.

Templates ๐Ÿ“„

  • templates folder: Contains HTML templates for various pages:
    • about.html
    • base.html
    • book.html
    • index.html
    • menu.html
    • menu_item.html
    • _footer.html
    • _header.html

Static Files ๐ŸŽจ

  • static folder: Contains static files like CSS, images, etc.
    • css/style.css: Stylesheet for the website.
    • image/: Folder for images used in the project.

Configuration โš™๏ธ

  • Database: SQLite3 is used by default. You can configure this in the DATABASES section of settings.py.
  • Static Files: The project is configured to serve static files from the restaurant/static/ directory.
  • Media Files: Media files (e.g., uploaded images) are served from the /media/ URL.

Features ๐ŸŒŸ

  • Home: Welcome page introducing the restaurant.
  • About: Learn more about Little Lemon Restaurant.
  • Book: Reserve a table by filling out a booking form.
  • Menu: Explore the delicious offerings on the menu.
  • Menu Item: Detailed view of a specific menu item.

Getting Started ๐Ÿš€

  1. Clone the repository: git clone https://github.com/HamzaSajjad141/Little-Lemon-Restaurant.git
  2. Virtual Environmenta and Setup : ๐Ÿ‘‰ Click Here
  3. Apply database migrations: python manage.py makemigrations then python manage.py migrate
  4. Run the development server: python manage.py runserver
  5. Access the website at http://localhost:8000/

Feel free to customize and enhance the project according to your preferences! Enjoy creating and managing your Little Lemon Restaurant. ๐Ÿฝ๏ธ๐Ÿน

About

Little Lemon Website developed for the client๐Ÿ’ป๐Ÿ‹

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages