This application provides the API needed for this client application.
This API is built using Express.js and the Sequelize ORM. It connects to a Postgres database that stores data for a sales system. The API provides endpoints for creating, reading, updating, and deleting data related to the sales system.
Beside provides GET, POST, PUT, etc. requests for the client application, this API server also serves to:
- Automatically generate pdfs for requested invoices
- Generate weekly supplier bills
- Generate profits report paramaterized based on dates
Here is the ERD for the API: