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
11b3304c54
Update page auth HOF type definitions
...
Added vercel config, update packages
2023-02-25 19:17:49 -05:00
Aaron William Po
4cd2ab476f
Formatting changes
2023-02-20 09:09:45 -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
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