Commit Graph

42 Commits

Author SHA1 Message Date
Aaron William Po
0e99782557 Refactor: rename [:id] to [:postId] for api routes 2023-12-24 20:08:35 -05:00
Aaron William Po
386556bb41 Refactor paginated query response schema 2023-12-18 13:24:22 -05:00
Aaron William Po
8b0d182cb3 Update casing for services and controllers directories. 2023-12-10 18:39:10 -05:00
Aaron William Po
fd641c36ab Refactor: begin reorganizing services dir.
- Renamed files and directories to reflect the new structure
- Moved comment-related services to the 'comments' directory
- Moved image-related services to the 'images' directory
- Moved like-related services to the 'likes' directory
- Moved post-related services to the 'posts' directory
- Moved user-related services to the 'users' directory
2023-12-10 14:15:31 -05:00
Aaron William Po
830e9dc845 Update eslint config, brewery post controllers 2023-12-10 12:47:09 -05:00
Aaron William Po
4b2ce394c1 Refactor: further extract controller logic from routers 2023-12-04 16:46:27 -05:00
Aaron William Po
da8d5806bc Extract beer post, beer image, and beer like controller logic 2023-12-03 22:19:27 -05:00
Aaron William Po
57c70c2292 refactor: finish extracting comment controller logic out of router 2023-12-03 15:14:59 -05:00
Aaron William Po
b45ed857d3 Update api routes and begin to extract controllers out of routing logic 2023-12-03 15:14:59 -05:00
Aaron William Po
49d5b782a9 Add proper toast notifications to edit/create beer post. fix delete 2023-12-01 14:40:33 -05:00
Aaron William Po
ab252c41b9 Refactor
Extract upload middleware to separate file and implement edit profile functionality.
2023-12-01 00:23:30 -05:00
Aaron William Po
6641a45705 fix: use term 'count' for X-Total-Count header 2023-11-13 14:57:15 -05:00
Aaron William Po
f55570fc1c fix: add await to beer style api route to fix api response parse error 2023-11-12 23:37:32 -05:00
Aaron William Po
d48d9a8886 Update: all queries involving image now use ImageQueryValidationSchema 2023-11-11 20:30:07 -05:00
Aaron William Po
7f9ddb40a1 Feat: create user page, add user bio and avatar 2023-11-05 22:04:55 -05:00
Aaron William Po
e057d31f13 Merge branch 'beer-style-fix' into dev-beer-styles 2023-10-30 12:43:36 -04:00
Aaron William Po
51c29702d3 Refactor: extract logic out of api route 2023-10-30 12:37:29 -04:00
Aaron William Po
8093817ccc Fix: Update page count calc 2023-10-30 12:21:51 -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
2ee12d351f cleanup 2023-10-07 13:27:01 -04:00
Aaron William Po
5b287ed2ac Merge branch 'main' into beer-styles-dev 2023-10-01 18:21:19 -04:00
Aaron William Po
eb6dbb2115 Refactor and formatting 2023-09-29 21:18:56 -04:00
Aaron William Po
17ec5ab459 feat: begin work on delete beer style 2023-09-24 00:57:30 -04:00
Aaron William Po
cb26df286a Add dbml, minor tweaks to beer style page 2023-09-23 22:32:15 -04:00
Aaron William Po
e95cb29189 Feat: add glassware, abv range, and ibu range to beer style table 2023-09-22 01:48:37 -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
bfbf7c3cf3 Update next-connect middleware to return next() to fix error handling 2023-07-24 01:05:17 -07: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
aa994f0067 Feat: add create brewery post, brewery image upload
Add address autocomplete, using MapBox
2023-06-10 22:09:51 -04:00
Aaron William Po
bc298bce0e Update: change identifiers to cuid 2023-05-28 21:24:59 -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
50c3e1a82b Feat: Update beer recs to be loaded on the client side 2023-05-14 14:56:34 -04:00
Aaron William Po
f21dc905fe feat: client app can now upload images for beer posts
Updated seed to incorporate cloudinary images, downgraded multer to recent LTS, update tsconfig to allow spread operator usage on FileList.
2023-05-07 21:05:21 -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
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
58d30b605f Continue work on brewery page, implement like system 2023-04-23 17:26:21 -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
08422fe24e Restructure codebase to use src directory 2023-04-11 23:32:06 -04:00