Pizza-constructor is a Django app to constructor your own pizza from available options and ingredients. Order it. And receive a confirmation by email.
This basic web app is just an example of a Django application with the ability to send emails.
View demo on heroku.
If you want to run this application locally, you need to follow the steps below:
- To be able to send emails from the app you need an email account. If you choose Google, you need to configure Sign in with App Passwords for this account.
- Then provide your email and password from email account into environment variables
EMAIL_HOST_USER
andEMAIL_HOST_PASSWORD
. - Activate virtual environment
- Install dependencies
pip install -r requirements.txt
- Run in the terminal
python manage.py migrate
. - Run in the terminal
python manage.py loaddata ./pizza_app/fixtures/initial_data.json
. - Create superuser in the terminal
python manage.py createsuperuser
. - Start the development server by running the command
python manage.py runserver
. - Go to
http://127.0.0.1:8000/
.
- make the home page responsive for mobile users.
- custom 404 page.