Skip to content

A simple app for creating, viewing, and signing promises πŸ€™. Each promise includes a description, due date, and a list of signatures. Built with Flask and styled using Tailwind CSS.

License

Notifications You must be signed in to change notification settings

ha1fdan/PinkyPromise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pinky Promise πŸ€™

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.

Features

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/ha1fdan/pinkypromise.git
    cd pinkypromise
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate   # On Windows, use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Run the application:

    python app.py
  5. Open your browser and navigate to:

    http://127.0.0.1:5000/
    

Project Structure

pinky-promise/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ 404.html
β”‚   β”œβ”€β”€ base.html
β”‚   β”œβ”€β”€ create_promise.html
β”‚   └── view_promise.html
β”œβ”€β”€ promises.json
β”œβ”€β”€ requirements.txt
└── README.md

Dependencies

  • Flask
  • Tailwind CSS (via CDN)

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-name.
  3. Make your changes and commit them: git commit -m 'Add feature'.
  4. Push to your forked repository: git push origin feature-name.
  5. Create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Built with πŸ’– and Flask.

About

A simple app for creating, viewing, and signing promises πŸ€™. Each promise includes a description, due date, and a list of signatures. Built with Flask and styled using Tailwind CSS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published