Skip to content

With this app, you can fully manage a restaurant's website. Made with Python in the Django Framework, PostgreSQL using AWS RDS, HTML, CSS, and Bootstrap. Containerized using Docker and Docker compose. The application was successfully deployed to the AWS EC2 instance.

License

Notifications You must be signed in to change notification settings

nemcve/Django-CRUD-Restaurant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-CRUD-Restaurant

With this app, you can fully manage a restaurant's website. Made with Python in the Django Framework, PostgreSQL using AWS RDS, HTML, CSS, and Bootstrap. Containerized using Docker and Docker compose. The application was successfully deployed to the AWS EC2 instance.

Key features:

  • User registration
  • User login
  • Logged-in user profile
  • Admin user authorized pages
  • Menu display with sections and their meals
  • Menu that adapts to the user's choice of diet type, showing only the meals for that diet type.
  • Meal search by name
  • Meal deletion
  • Meal editing
  • Meal adding
  • Menu printing

To get it running on your local machine, run the commands below in your terminal :

1. $ git clone https://github.com/nemcve/Django-CRUD-Restaurant.git

2. $ cd Django-CRUD-Restaurant/Restaurant

3. Generate a secret key using https://djecrety.ir, copy it, and replace it with the existing SECRET_KEY setting in the settings.py file. Then set the DEBUG setting underneath it to True.

4. Also in the settings.py file, uncomment the db.sqlite3 database connection and delete or comment out the PostgreSQL database connection.

5. $ docker build -t djangoapp .

6. $ docker run -p 8000:8000 djangoapp

7. Open your browser and navigate to http://127.0.0.1:8000/

Admin login username: admin, password: admin

If you want to create a new admin user :

$ python manage.py createsuperuser, and follow the prompts

To access the Django admin control panel and manage users and user groups, in your browser's url field, add /admin. Like this :

https://127.0.0.1:8000/admin

Application successfully running on an AWS EC2 instance :

About

With this app, you can fully manage a restaurant's website. Made with Python in the Django Framework, PostgreSQL using AWS RDS, HTML, CSS, and Bootstrap. Containerized using Docker and Docker compose. The application was successfully deployed to the AWS EC2 instance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages