This is a Flask-based web application, one of my first Flask toss arounds, this is for managing projects and their associated tasks. It allows users to create, view, and manage projects and tasks with ease.
- Create and manage projects with titles, descriptions, statuses, and due dates.
- Add tasks to projects with details like title, description, status, priority, and due dates.
- View project details along with associated tasks.
- Pagination for project lists.
- Custom error pages for 404 and 500 errors.
- Python 3.8 or higher
- Flask and its dependencies
- SQLite (default database)
-
Clone the repository:
git clone https://github.com/AlphaC137/FMP cd FMP -
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
-
Set up environment variables (optional):
SECRET_KEY: A secret key for Flask sessions.DATABASE_URI: The URI for the database (default is SQLite).- Learn How
-
Initialize the database:
flask db init flask db migrate flask db upgrade
-
Run the application:
flask run
-
Open your browser and navigate to
http://127.0.0.1:5000.
app.py: Main application file.templates/: Contains HTML templates for the application.instance/projects.db: SQLite database file.README.md: Project documentation.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to fork this repository and submit pull requests for improvements or bug fixes.