3 Commits

Author SHA1 Message Date
Delba de Oliveira
b0d832e2cf Code for Chapters 9-10 (#172) 2023-10-02 09:26:13 -05:00
Stephanie Dietz
c478aa149b Adds auth to dashboard using NextAuth (#173) 2023-09-27 15:23:12 -05:00
Stephanie Dietz
7e4b69351e Add database (#153)
* add database to project. Seed data. Update customerId to customer_id

* seed customers table data

* use database everywhere

* refactor

* fix ts lint errors

* add type to invoice edit page

* remove fetch-data file and fetch data directly in components

* update lates invoices to use sql

* in invoice table,  search the database here with SQL

* rename tsx files to ts and add node script to seed data

* address rest of PR comments

* move all data fetches to own file

* add types to filter invoices function

* remove unused param

* prettier

* update function names
2023-09-13 12:16:09 -05:00