Commit Graph

35 Commits

Author SHA1 Message Date
Aaron William Po
3ea9f67f16 Fix: remove console.log to appease linter 2023-11-07 21:26:51 -05:00
Aaron William Po
f3f4fd4a26 Merge branch 'beer-style-fix' into dev-beer-styles 2023-10-30 12:50:08 -04:00
Aaron William Po
843497323a dev: add beers by beer style 2023-10-30 00:49:35 -04:00
Aaron William Po
6bd2d4713e feat: add beer style likes 2023-10-23 22:50:43 -04:00
Aaron William Po
c8e8207e30 feat: add beer style comments 2023-10-15 20:24:40 -04:00
Aaron William Po
af09928c3c misc: Rename beer type to beer style 2023-09-18 20:34:09 -04:00
Aaron William Po
6b8682e686 feat: begin work on beer type page and associated api routes 2023-09-17 20:27:33 -04:00
Aaron William Po
5292c47a2a chore: Update api service type directories to maintain consistency 2023-07-07 23:23:04 -04:00
Aaron William Po
140abaa5a1 update: add delete user api route, AuthProvider extracted from App.tsx 2023-06-04 13:37:51 -04:00
Aaron William Po
49565d0533 Update: update confirm user, user account page 2023-05-31 21:00:01 -04:00
Aaron William Po
06ae380b8f feat: create confirm user page, option to resend email if link expires 2023-05-29 15:54:22 -04:00
Aaron William Po
bc298bce0e Update: change identifiers to cuid 2023-05-28 21:24:59 -04:00
Aaron William Po
2b026b7e5f format: format codebase to prettier schema 2023-05-28 20:12:41 -04:00
Aaron William Po
4c30af27b6 Update: add more toast notifications, update position
Also set Account page to use UserContext. Refactored api requests out of components.
2023-05-22 22:41:37 -04:00
Aaron William Po
56af72a471 feat: add react-hot-toast for toast notifs 2023-05-19 23:27:49 -04:00
Aaron William Po
5c91c6ab08 Refactor: move service logic out of api routes and into separate files 2023-05-14 19:30:08 -04:00
Aaron William Po
60e76089f3 Update README and env to mention Neon PG 2023-05-14 14:57:19 -04:00
Aaron William Po
50c3e1a82b Feat: Update beer recs to be loaded on the client side 2023-05-14 14:56:34 -04:00
Aaron William Po
99c57d88c7 Update: beer post form now connected to a specific brewery.
This commit eliminates the brewery selector in the create beer post form, and reroutes the form page to /breweries/[id]/beers/create.

This commit also introduces the use of turbopack for `next dev`.
2023-05-12 20:21:52 -04:00
Aaron William Po
3e1172e440 Refactor: switch data fetching from server side to client 2023-05-09 00:53:15 -04:00
Aaron William Po
90a7cf8d56 Format and style
Format SQL query in clean database, run npm run format
2023-05-08 00:04:01 -04:00
Aaron William Po
1971959ea4 Docs and format: Update documentation for hooks and format code
Docs: begin work on updating documentation for hooks
2023-05-04 23:52:00 -04:00
Aaron William Po
b7b239a4a1 Refactor: force style consistency for pagination queries
All pagination queries now use an underscore for page_num, and page_size
2023-05-02 23:45:32 -04:00
Aaron William Po
283b944c6b Refactor: change directory structure of hooks to organize by task 2023-05-02 21:54:49 -04:00
Aaron William Po
d20ab0fd1f Add user location marker to brewery map, Add beer sec. for brewery posts 2023-05-01 23:10:39 -04:00
Aaron William Po
b3b1d5b6d1 Feat: Implement infinite scrolling brewery comment section
Refactor beer comment schemas to work on brewery comments as well. Add robots.txt to block crawling for now.
2023-04-30 14:00:38 -04:00
Aaron William Po
c0d705f8cb Update seed to do bulk insert 2023-04-26 22:33:24 -04:00
Aaron William Po
c19cddceb7 Create location table for brewery post locations 2023-04-26 08:37:59 -04:00
Aaron William Po
58d30b605f Continue work on brewery page, implement like system 2023-04-23 17:26:21 -04:00
Aaron William Po
603588ca54 Update docs for useTheme hook, move meta viewport to _app 2023-04-21 23:42:14 -04:00
Aaron William Po
788d77e745 Add page count to api route header, update docs 2023-04-16 23:20:05 -04:00
Aaron William Po
60fe48b7c1 Begin work on infinite beer scroll 2023-04-16 20:32:42 -04:00
Aaron William Po
07330beb9c Update navbar, implement useNavbar hook, style updates
- Created a custom hook that returns an object with pages depending on user auth. This is a refactor of the logic found in the navbar component.
- Updated styles for card components
- Fix font size issues for mobile.
- Update theming to include a new pastel theme.
2023-04-13 23:04:25 -04:00
Aaron William Po
7185734f3c Update readme, add docs to useMediaQuery, fix security issue with vm2 2023-04-12 21:41:19 -04:00
Aaron William Po
08422fe24e Restructure codebase to use src directory 2023-04-11 23:32:06 -04:00