Python - Flask PostreSQL web app
About
This coding example is part of a Udemy Python course using the Flask Python web app framework utilising a PostreSQL database deployed to Heroku.
Technologies
Languages
- Python3
- Used to create the main application functionality
Libraries / Packages / Modules
- Flask
- Flask is a micro web framework written in Python.
Databases
- PostreSQL
- PostgreSQL is a powerful, open source object-relational database system.
Tools
- VS Code
- Code Editor
Deployment
The website was developed using VS Code & Git pushed to GitHub, which hosts the repository. I made the following steps to deploy the site:
Cloning python
Prerequisites
Ensure the following are installed locally on your computer:
- Python 3.6 or higher
- PIP3 Python package installer
- Git Version Control
- PostgreSQL database with pgAdmin management tool
Cloning the GitHub repository
- navigate to simonjvardy/python_flask_postresql_app GitHub repository.
- Click the Code button
- Copy the clone url in the dropdown menu
- Using your favourite IDE open up your preferred terminal.
- Navigate to your desired file location.
Copy the following code and input it into your terminal to clone Sportswear-Online:
Creation of a Python Virtual Environment
Note: The process may be different depending upon your own OS - please follow this Python help guide to understand how to create a virtual environment.
Run the application locally
- TODO
Acknowledgements
- Udemy: The Python Mega Course - Build 10 Real World Applications Credit: Ardit Sulce
- Banner Image from Pexels Credit: Abdullah Ghatasheh