This project began as part of a coding interview. The challenge was to create an invoice application given a set of framework-agnostic starter files. I decided to go with React. I thought the challenge was interesting enough that I continued working on it after the interview.
- sqlite3
- node
- npm
node seed_database
npm install
npm start
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}