The Mini Mart REST API is a backend system designed to manage users, products, sales, and reporting for a mini mart.
This project follows RESTful principles to ensure scalability, maintainability, and ease of integration with front-end applications.
- List:
- Create:
- Update:
- Delete:
- Register: Create a new user account.
- Login: Authenticate users and issue access tokens.
- Logout: Revoke user sessions or tokens.
- Reset Password: Securely reset user passwords.
- List Categories: Retrieve all existing categories.
- Create Category: Add a new product category.
- Update Category: Modify existing category details.
- Delete Category: Remove an existing category.
- Each product record includes an image column.
- List Products: Retrieve all available products.
- Create Product: Add a new product with details and image.
- Update Product: Edit existing product information or image.
- Delete Product: Remove a product from the database.
- Manage invoices containing customer and transaction details.
- Supports creating, viewing, and managing sales invoices.
- Create Sale: Add sale details to an invoice.
- Update Sale Details: Modify existing sale entries.
- Delete Sale Details: Remove sale records.
- Sales Reports:
- Daily Sales
- Weekly Sales
- Monthly Sales
- Sales by Criteria (SaleBy):
Generate reports based on specific criteria such as product, category, or user.
- Backend Framework: Flask
- Database: MySQL / PostgreSQL / SQLite
- Authentication: JWT (JSON Web Token)
- Data Format: JSON-Postman
- Project Source code upload to github
- Record Video Demo
- Send in telgram group's topic
- ** postman_collection **