π‘οΈ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!
Update README.md
sassanix1d05d64fe7d7
diff --git a/README.md b/README.mdindex 04db98c..6a14a3d 100644--- a/README.md+++ b/README.md@@ -1,138 +1,92 @@-π‘οΈ Warracker+# π‘οΈ Warracker-Warracker is an open-source warranty tracker application designed to help you effortlessly keep track of product warranties, expiration dates, and related documentation.-π Overview+Warracker is an open-source warranty tracker application designed to help you effortlessly keep track of product warranties, expiration dates, and related documentation.-Warracker is a web-based application that provides a centralized system for managing all your product warranties. Key features include:+## π Overview- Tracking product warranties in one central location.- Adding warranty details, including purchase dates and duration.- Uploading and storing warranty documentation and receipts.- Providing visual indicators for active, expiring soon, and expired warranties.- Searching through your warranty collection.-+Warracker is a web-based application that provides a centralized system for managing all your product warranties. Key features include:-πΈ Screenshots+* Tracking product warranties in one central location.+* Adding warranty details, including purchase dates and duration.+* Uploading and storing warranty documentation and receipts.+* Providing visual indicators for active, expiring soon, and expired warranties.+* Searching through your warranty collection.-+## πΈ Screenshots-β¨ Features+\- Warranty Management: Add, edit, and delete warranty information.- Document Storage: Upload and securely store receipts and warranty documentation.- Status Tracking: Visual indicators for warranty status (active, expiring soon, expired).- Search: Easily find warranties by product name.- Responsive Design: A seamless experience on both desktop and mobile devices.-+## β¨ Features-π οΈ Technology Stack+* **Warranty Management**: Add, edit, and delete warranty information.+* **Document Storage**: Upload and securely store receipts and warranty documentation.+* **Status Tracking**: Visual indicators for warranty status (active, expiring soon, expired).+* **Search**: Easily find warranties by product name.+* **Responsive Design**: A seamless experience on both desktop and mobile devices.- Frontend: HTML, CSS, JavaScript- Backend: Python with Flask- Database: PostgreSQL- Containerization: Docker and Docker Compose- Web Server: Nginx-+## π οΈ Technology Stack-π Installation-Prerequisites+* **Frontend**: HTML, CSS, JavaScript+* **Backend**: Python with Flask+* **Database**: PostgreSQL+* **Containerization**: Docker and Docker Compose+* **Web Server**: Nginx- Docker and Docker Compose installed on your system.- Git (for cloning the repository).-+## π Installation-Setup+### Prerequisites-+* Docker and Docker Compose installed on your system.+* Git (for cloning the repository).- Clone the Repository:- bash--+### Setup--1-2-git clone https://github.com/yourusername/warracker.git-cd warracker---+1. **Clone the Repository:**-Start the Application:-bash--+ ```bash+ git clone https://github.com/yourusername/warracker.git+ cd warracker+ ```+2. **Start the Application:**-- 1+ ```bashdocker-compose up -d---+ ```+3. **Access the Application:**- Access the Application:+ Open your browser and navigate to `http://localhost:8005`.- Open your browser and navigate to http://localhost:8005.-+## π Usage-π Usage-Adding a Warranty+### Adding a Warranty- Fill in the product details on the left panel.- Enter the purchase date and warranty duration.- Optionally upload receipt/documentation.- Click the "Add Warranty" button.-+1. Fill in the product details on the left panel.+2. Enter the purchase date and warranty duration.+3. Optionally upload receipt/documentation.+4. Click the "Add Warranty" button.-Managing Warranties+### Managing Warranties- Use the search box to filter warranties.- Click the edit icon to modify warranty details.- Click the delete icon to remove a warranty.-+* Use the search box to filter warranties.+* Click the edit icon to modify warranty details.+* Click the delete icon to remove a warranty.-π» Development-Local Development Environment+## π» Development-+### Local Development Environment- Clone the repository.-+1. Clone the repository.+2. Make your changes.+3. Build and run with Docker Compose:- Make your changes.--- Build and run with Docker Compose:- bash----- 1- 2+ ```bashdocker-compose builddocker-compose up -d-----Project Structure----1-2-3-4-5-6-7-8-9-10-11-12+ ```++### Project Structure++```warracker/βββ backend/ # Python Flask backendβ βββ app.py # Main application logic@@ -145,40 +99,40 @@ warracker/βββ docker-compose.yml # Docker configurationβββ Dockerfile # Container definitionβββ nginx.conf # Web server configuration---πΊοΈ Roadmap+```++## πΊοΈ Roadmap++* User authentication.+* Email reminders for expiring warranties.+* Mobile app.+* Settings page.+* Status page.++## π οΈ Troubleshooting- User authentication.- Email reminders for expiring warranties.- Mobile app.- Settings page.- Status page.-+### Common Issues-π οΈ Troubleshooting-Common Issues+* **Connection Refused Error**: Ensure all containers are running (`docker-compose ps`). Verify the backend is correctly connected to the database.+* **Database Errors**: If schema issues arise, double-check that the database initialization script (`init.sql`) matches the expected schema in `app.py`.- Connection Refused Error: Ensure all containers are running (docker-compose ps). Verify the backend is correctly connected to the database.- Database Errors: If schema issues arise, double-check that the database initialization script (init.sql) matches the expected schema in app.py.-+## π€ Contributing-π€ Contributing+Contributions are welcome! We encourage you to submit a Pull Request.-Contributions are welcome! We encourage you to submit a Pull Request.+1. Fork the repository.+2. Create your feature branch (`git checkout -b feature/amazing-feature`).+3. Commit your changes (`git commit -m 'Add some amazing feature'`).+4. Push to the branch (`git push origin feature/amazing-feature`).+5. Open a Pull Request.- Fork the repository.- Create your feature branch (git checkout -b feature/amazing-feature).- Commit your changes (git commit -m 'Add some amazing feature').- Push to the branch (git push origin feature/amazing-feature).- Open a Pull Request.-+## π License-π License+This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. (Make sure you have a LICENSE file in your root directory).-This project is licensed under the MIT License - see the LICENSE file for details. (Make sure you have a LICENSE file in your root directory).-π Acknowledgements+## π Acknowledgements- Flask- PostgreSQL+* Flask+* PostgreSQL+* DockerDocker