This is my first solo project, a food take-away web app for employees taking orders. For this project I used: Python, HTML, CSS, Flask, SQLAlchemy. Duration of the project was 1 week.
You can see a 3minutes showcase by downloading food_take_away_showcase file.
If you want to use this web app.
-
You need Flask - SQLalchemy
-
You have to change from app.py this line : app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://user@localhost:5432/food_takeaway_project" by replacing: user@localhost:5432 to YOUR_USER_NAME@localhost:5432
-
Use this command to create local database (MAC):createdb food_takeaway_project into the folder use those commands in that order: 3.a) flask db init 3.b) flask db migrate 3.c) flask db upgrade
-
Use this command to run flask: flask run
-
Flask enviroment runs at port 4999 so you can go to web app homepage by typing this URL: http://localhost:4999/