Agenda is a simple web application built with Flask and htmx. It allows users to manage contacts and commitments.
- View a list of all contacts
- View a list of all commitments
- Add a new contact
- Add a new commitment
- Delete a contact
- Delete a commitment
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd <project-directory>
- Install the required Python packages:
pip install -r requirements.txt
- Start the Flask server:
flask run
- Open a web browser and navigate to
http://127.0.0.1:5000
.
app.py
: The main application file. It contains the Flask routes and logic for rendering templates and interacting with the database.db_manager.py
: Contains functions for interacting with the database.db.json
: The database file.templates/
: Contains the HTML templates for the application.static/
: Contains static files such as CSS and JavaScript files.