Aaron William Po
2b026b7e5f
format: format codebase to prettier schema
2023-05-28 20:12:41 -04:00
Aaron William Po
f4e6a307f2
feat: implement change password
2023-05-28 20:05:00 -04:00
Aaron Po
d06415c924
Merge pull request #42 from aaronpo97/react-toast
...
React toast updates and refactor
2023-05-22 22:52: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
27e72d3dcf
Refactor: Organize api requests by type and remove toastContext
2023-05-22 12:18:31 -04:00
Aaron Po
10bba6ab02
Merge pull request #41 from aaronpo97/dev-updates
...
Dev updates
2023-05-20 21:01:58 -04:00
Aaron William Po
5005c1c1d4
Refactor: Implement lazy loading for BreweryPost and BeerPost pages
2023-05-20 20:56:29 -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
39c310f296
Format: format codebase to prettier schema
2023-05-16 23:49:44 -04:00
Aaron William Po
0b0c0e6821
Feat: Add edit user functionality
2023-05-15 23:07:33 -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 Po
2d2cd8189a
Merge pull request #40 from aaronpo97/create-beer-updates
...
Update: beer post form now connected to a specific brewery
2023-05-12 20:27:42 -04:00
Aaron William Po
f68af84afe
Refactor: remove unused imports in /pages/beers/index.tsx
2023-05-12 20:24:16 -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 Po
5c9970a045
Merge pull request #38 from aaronpo97/dev
...
Various updates
2023-05-12 08:36:21 -04:00
Aaron William Po
9574bbaeb9
Feat: Update user validation schema to include username/email check
...
The validation schema will throw an error if the username or email is already found in the database.
2023-05-12 08:34:06 -04:00
Aaron William Po
2eb2626d54
Updates to user schema, account page
...
Renamed isAccountVerified to accountIsVerified, add account info to account page
2023-05-11 22:20:51 -04:00
Aaron William Po
55afcdec70
Begin work on account page
2023-05-09 08:37:33 -04:00
Aaron William Po
3e1172e440
Refactor: switch data fetching from server side to client
2023-05-09 00:53:15 -04:00
Aaron Po
d9236e8fde
Merge pull request #37 from aaronpo97/optimize-like-loading
...
Refactor: only load like count span when no longer loading
2023-05-08 21:12:36 -04:00
Aaron William Po
ab393ee49e
Refactor: only load like count span when no longer loading
2023-05-08 21:10:26 -04:00
Aaron Po
b20ba91b3a
Merge pull request #36 from aaronpo97/style
...
Format and style
2023-05-08 00:07:38 -04:00
Aaron Po
0178750563
Merge branch 'main' into style
2023-05-08 00:05:35 -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 Po
fdf96a0be9
Merge pull request #35 from aaronpo97/database-updates
...
bug fix - Fixed error in cleanDatabase that would cause drift
2023-05-07 23:40:33 -04:00
Aaron William Po
8cda68503d
bug fix - Fixed error in cleanDatabase that would cause drift
...
Added an extra line to ensure the query does not include the migration table. This kept on getting cleared.
Reintroduced shadow db to detect drift.
2023-05-07 23:33:46 -04:00
Aaron Po
301a2bb247
Merge pull request #34 from aaronpo97/image-upload
...
feat: client app can now upload images for beer posts
2023-05-07 21:08:58 -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 Po
b457508a9b
Merge pull request #33 from aaronpo97/refactor
...
Refactor codebase
2023-05-06 00:18:33 -04:00
Aaron William Po
6886473d7a
Add .env.production to git ignore
2023-05-06 00:12:27 -04:00
Aaron William Po
79e6ab8ba7
Update: Refactor comments section to prop drill edit and delete handlers
2023-05-06 00:09:02 -04:00
Aaron William Po
2f8d7d6abb
Update: create raw seed query to truncate all tables using plp/pgsql
2023-05-04 23:52:00 -04:00
Aaron William Po
7922b6107b
Update: remove shadow database url from schema
...
This is a quick solution to a migration issue involving the shadow db
2023-05-04 23:52:00 -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
196d09161a
Update: fix pluralization for beer and brewery header like count
2023-05-02 23:49:01 -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
c5b546dcf6
Refactor: create separate directory for beer/brewery comments
2023-05-02 23:27:12 -04:00
Aaron William Po
954892a5ca
chore: update dependencies
2023-05-02 23:24:06 -04:00
Aaron William Po
d79858da7f
Format license and readme
2023-05-02 22:20:55 -04:00
Aaron William Po
d0f58a2fb0
Update prettier config
2023-05-02 22:17:05 -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 Po
94d5d318ca
Merge pull request #32 from aaronpo97/vercel-postgres-migration
...
Migrate database to Vercel postgres.
2023-05-02 20:29:55 -04:00
Aaron William Po
85ecc9f062
Migrate database to Vercel postgres
2023-05-02 20:01:12 -04:00
Aaron Po
150e847df7
Merge pull request #31 from aaronpo97/comments-bug-fix
...
Fix bug where comments would not update when edited
2023-05-02 19:52:48 -04:00
Aaron William Po
23baa68a25
Fix bug where comments would not update when edited
2023-05-02 19:50:36 -04:00
Aaron Po
e505db94b0
Merge pull request #30 from aaronpo97/brewery-page
...
Feat: Implement brewery page component and update database with location table and date established field
2023-05-01 23:15:43 -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
f3d471be4c
Update: Add html head to brewery map page
2023-04-30 23:50:34 -04:00