This repository contains a simple task management web application from my past that was built with Flask, demonstrating fundamental Flask capabilities including routing, templating, and database operations using SQLAlchemy.
- Task Management: Users can add, delete, and update tasks.
- Persistent Storage: Tasks are stored in a SQLite database, ensuring data persistence.
- User-Friendly Interface: The application uses basic HTML and CSS to provide a clean and easy-to-navigate user interface.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Python installed on your system. The project was built using Python 3.8. You also need to have Flask and SQLAlchemy installed. If you don't have these, the next section will guide you on how to install them.
First, clone the repository to your local machine:
git clone https://github.com/psap2/Learning-flask.git
cd learning-flaskNext, install the required packages:
pip install -r requirements.txtTo run the application, use the following command:
flask runThis will start the Flask development server, and you should be able to access the application by navigating to http://127.0.0.1:5000/ in your web browser.
- Flask - The web framework used
- SQLAlchemy - Database Management
- SQLite - Database used for development