We South Africans love ordering food. Take the hard work out of ordering in bulk today, let ChippiesEats handle it for you!
https://chippies-eats.herokuapp.com/
- Python
- Jquery (Ajax)
- Bootstrap
- Postgresql
- Heroku
There is a administration panel that allows a administrator to add food items, users and view a comprehensive and cumulative list of pending orders
A user can only place one order before the database record must be deleted. A successful order will appear as follows:
While a unsuccessful order will appears as follows:
pip3 install -r requirements.txt
python3 app.py
- Use the following Nginx configuration as a guideline:
server {
listen [::]:80 default_server;
server_name subdomain.domain.tld;
location / {
proxy_pass http://localhost:5000;
}
location /director {
proxy_pass http://localhost:5000;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd; # Protected admin route
}
}
pip3 install -r requirements.txt
gunicorn app:app
If you have a number of pending orders you want to flush, you can perform a GET request to the following endpoint to flush all pending orders:
/remove_pending_orders
If there is any copyright infrightment or you would like me to take this down, please reach out to me via Linkedin or my email address and I'll gladly do so!