Aaron William Po
6b12cb72c5
Refactor BeerPostHeader, refactor login and register
...
- Updated BeerPostHeader in /id page to use semantic HTML tags
- Removed the getServerSidesProps fn in /login and /register. Moved the redirect logic over to the client, will redirect on the client side.
- Added delete BeerPost option on the edit page.
2023-03-15 21:30:26 -04:00
Aaron William Po
472ead9abd
Refactoring beer by id page, add delete comment
...
Refactored the comments ui into various new components, added the delete beer comment by id feature.
2023-03-03 21:28:44 -05:00
Aaron William Po
7126c74d5d
Add edit beer post, 500 page, and redirectIfLoggedIn getServerSideProps.
...
Implement edit beer post functionality.
Register, edit and create beer post forms are now using the same layout found in components/ui/forms/BeerPostFormPageLayout. All forms are now extracted into their own components and are now found in components.
Added redirectIfLoggedIn getServerSidesProp fn for login and register pages.
2023-02-27 18:19:58 -05:00
Aaron William Po
4cd2ab476f
Formatting changes
2023-02-20 09:09:45 -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
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
45cc10a009
Update next-connect, begin work on cloud img upload
2023-02-09 23:58: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
f6880deeb6
add user context and likes
2023-02-08 07:43:59 -05:00
Aaron William Po
3626e3de44
Update api routes to use authenticated user
2023-02-06 19:01:01 -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