- sqlite3
- node
- npm
npm install
npm run start
http://localhost:8000
npm run build
Start local dev server that will upload files from src folder and perform server autoupdate when it comes to changing files in the project
npm run serve
- id (integer)
- name (string)
- address (string)
- phone (string)
- id (integer)
- name (string)
- price (decimal)
- id (integer)
- customer_id (integer)
- discount (decimal)
- total (decimal)
- id (integer)
- invoice_id (integer)
- product_id (integer)
- quantity (decimal)
GET|POST /api/customers
GET|PUT|DELETE /api/customers/{id}
GET|POST /api/products
GET|PUT|DELETE /api/products/{id}
GET|POST /api/invoices
GET|PUT|DELETE /api/invoices/{id}
GET|POST /api/invoices/{id}/items
GET|PUT|DELETE /api/invoices/{invoice_id}/items/{id}