Pinky Promise is a simple Flask application for creating, viewing, and signing promises. Each promise has a description, a due date, and a list of signatures.
- Create Promises: Add a new promise with a description, due date, and creator's name.
- Sign Promises: Sign promises before the due date.
- View Promises: See the details of a promise and its signatures.
- 404 Page: Custom error page for non-existent routes.
-
Clone the repository:
git clone https://github.com/ha1fdan/pinkypromise.git cd pinkypromise -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Open your browser and navigate to:
http://127.0.0.1:5000/
pinky-promise/
β
βββ app.py
βββ templates/
β βββ 404.html
β βββ base.html
β βββ create_promise.html
β βββ view_promise.html
βββ promises.json
βββ requirements.txt
βββ README.md
- Flask
- Tailwind CSS (via CDN)
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Make your changes and commit them:
git commit -m 'Add feature'. - Push to your forked repository:
git push origin feature-name. - Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Built with π and Flask.