This Django-based backend API project serves as an Invoice Management System, providing endpoints to manage invoices and their details.
- Invoice Management: CRUD operations for invoices, including listing, creating, updating, and deleting invoices.
- Invoice Details Management: CRUD operations for invoice details, including listing, creating, updating, and deleting invoice details.
- Automatic Price Calculation: The system automatically calculates the price of invoice details based on quantity and unit price.
- Clone the Repository:
git clone git@github.com:Pro-Ace-grammer/Invoice-API.git - Install Dependencies:
pip install -r requirements.txt - Run Migrations:
python manage.py makemigrations && python manage.py migrate - Start the Development Server:
python manage.py runserver
- GET /invoice/: Retrieve a list of all invoices.
- POST /invoice/: Create a new invoice.
- GET /invoice/: Retrieve details of a specific invoice.
- PUT /invoice/: Update a specific invoice.
- DELETE /invoice/: Delete a specific invoice.
- GET /invoice-details/: Retrieve a list of all invoice details.
- POST /invoice-details/: Create a new invoice detail.
- GET /invoice-details/: Retrieve details of a specific invoice detail.
- PUT /invoice-details/: Update a specific invoice detail.
- DELETE /invoice-details/: Delete a specific invoice detail.
- Django
- Django Rest Framework
- SQLite
- /myapi: Contains Django app for API endpoints.