This project is a basic Flask application structure designed to demonstrate the organization of a Flask project. It includes essential components such as routes, models, templates, and configuration files.
Back ├── app │ ├── __init__.py │ ├── routes.py │ ├── models.py │ └── templates │ ├── base.html │ └── index.html ├── tests │ └── test_app.py ├── app.py ├── config.py ├── requirements.txt └── README.md
Clone the repository:
git clone <repository-url> cd Back
Create a virtual environment:
python -m venv venv
Activate the virtual environment:
venv\Scripts\activate
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Run the application:
python app.py
Once the application is running, you can access it at http://127.0.0.1:5000/
. The index page will be displayed.
To run the tests, ensure the virtual environment is activated and execute:
pytest tests/test_app.py
Feel free to submit issues or pull requests for improvements or bug fixes.
This project is licensed under the MIT License.