Birthday Manager is a simple web application built with Flask that allows users to add and manage birthday entries in a database. Users can add names along with their corresponding birth months and days, and view all stored entries.
- Birthday Manager
.
├── CODE_OF_CONDUCT.md - project code of conduct
├── COPYRIGHT - project copyright
├── docs/ - documentation sources
├── instance/ - database
├── migrations/ - generated migrations scripts byFlask-Migrate. Files in there should be deleted when database has to be generated from scratch.
├── static/ - contains static files (css, js)
├── templates/ - contains html templates
├── tests/ - all kinds of test scripts
├── app.py - flask application and program entry
├── LICENSE - license file
├── README.md - project descriptions and instructions
└── requirements.txt - project requirements
- Add and delete new birthday entries.
- View all stored birthday entries.
- Simple and intuitive user interface.
- Clone the repository:
git clone https://github.com/CH6832/birthdays-management.git
- Extract the repository:
tar -xf birthdays-management.zip
- Navigate into root directory:
cd birthdays-management
- Install requirements:
pip3 install -r requirements.txt
- Build the docker image
docker build -t flask-app .
- Run the docker container:
docker run -d -p 5000:5000 flask-app
- FLask application is now running in a docker container reachable in your webbrowser:
http://localhost:5000
-
Make changes to 'UserModel' class in
app.py
-
Generate migration scripts in
migrations
folder:
flask db migrate -m "describe your changes"
- Apply the migrations:
flask db upgrade
- Python
- Flask
- HTML
- CSS
- Docker
- Markdwon
- Editor
This project is licensed under the terms of the MIT License.
See the COPYRIGHT file for copyright and licensing details.
Please review our Code of Conduct before contributing to this project.