Commit Graph

21 Commits

Author SHA1 Message Date
Aaron William Po
cee7942f1c add isSubmitting state to BeerForm 2023-02-20 16:19:33 -05:00
Aaron William Po
c818dc6525 BeerPostQueryResult type now inferred from zod schema 2023-02-20 14:26:58 -05:00
Aaron William Po
4cd2ab476f Formatting changes 2023-02-20 09:09:45 -05:00
Aaron William Po
d50ce7497b Add like count and extracted like button out of parent 2023-02-15 21:35:18 -05:00
Aaron William Po
ea516e91b5 Rename "user" column in beerPostLikes, add ERD gen 2023-02-13 17:15:10 -05:00
Aaron William Po
7240cb0792 Fix beer likes and db client 2023-02-13 13:08:05 -05:00
Aaron William Po
80261a713b Add comments pagination, login and register pages 2023-02-13 10:56:09 -05:00
Aaron William Po
912008e68d More work on beer image upload
patFix schema so beer image and brewery image have createdBy column. Rename 'url' to 'path' in schema, add 'caption' column.
2023-02-11 21:42:22 -05:00
Aaron William Po
9ba51c1ab3 fix case issue that caused rename prob 2023-02-09 04:16:03 -05:00
Aaron William Po
dbd342fd3e Refactor codebase, format 2023-02-09 04:03:52 -05:00
Aaron William Po
c2eb4d1371 Add github actions, refactor seed and beer p likes 2023-02-09 02:23:18 -05:00
Aaron William Po
3626e3de44 Update api routes to use authenticated user 2023-02-06 19:01:01 -05:00
Aaron William Po
9a9d8bcb94 Implement login, add useUser hook 2023-02-06 17:19:28 -05:00
Aaron William Po
087a1a4513 Implement authentication using Passport.js 2023-02-05 19:27:19 -05:00
Aaron William Po
5cf2087cd1 Refactored api services into sep files. Client fix
Fixed hydration errors in beers/[id] by implementing timeDistanceState
2023-01-31 23:16:43 -05:00
Aaron William Po
0b96c8f1f5 Did more work to beer post page, seed
Worked on comments and beer recs features. Fine tuning database seed amounts.
2023-01-29 21:53:05 -05:00
Aaron William Po
fe277d5964 Refactor api requests and components out of pages 2023-01-28 21:05:20 -05:00
Aaron William Po
d0bced1376 Add create beer, beer post page 2023-01-24 21:03:31 -05:00
Aaron William Po
972846f5a8 scaffold create/edit beer form, scaffold beer page 2023-01-23 20:13:25 -05:00
Aaron William Po
f08731de17 Edit seed db function 2023-01-22 23:49:58 -05:00
Aaron William Po
0065525f5c Add beer post, brewery post GET service and page
Add prettier, eslint config
2023-01-22 20:56:33 -05:00