- sqlite3
- node
- npm
npm install
node app.js
http://localhost:8000
- 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}