62 Commits

Author SHA1 Message Date
Aaron Po
55d5e001fb update pino to version 10.0.0 in package.json 2025-10-13 20:56:56 -04:00
Aaron Po
a3f0a9ce2d Merge pull request #90 from aaronpo97/dependabot/npm_and_yarn/cookie-0.7.0
Build(deps): Bump cookie from 0.5.0 to 0.7.0
2025-10-09 22:41:45 -04:00
dependabot[bot]
21d65c3c6a Build(deps): Bump next from 14.2.12 to 14.2.22
Bumps [next](https://github.com/vercel/next.js) from 14.2.12 to 14.2.22.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.12...v14.2.22)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-04 01:26:48 +00:00
dependabot[bot]
1fe072ba1a Build(deps): Bump cookie from 0.5.0 to 0.7.0
Bumps [cookie](https://github.com/jshttp/cookie) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-13 01:15:13 +00:00
dependabot[bot]
80b2ac9ef2 Build(deps): Bump next from 14.1.1 to 14.2.12
Bumps [next](https://github.com/vercel/next.js) from 14.1.1 to 14.2.12.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.1...v14.2.12)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 01:11:13 +00:00
Aaron William Po
09103b0386 update mapbox packages 2024-06-20 22:15:23 -04:00
dependabot[bot]
e2d9b4adfe Build(deps): Bump next from 14.0.3 to 14.1.1
Bumps [next](https://github.com/vercel/next.js) from 14.0.3 to 14.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.0.3...v14.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 03:16:19 +00:00
Aaron William Po
f5d9a52572 Remove react-page-scroller dependency and replace tailwind animation plugin 2024-02-23 21:25:56 -05:00
Aaron William Po
34e960f0c6 Update theme colors and layout styles, upgrade daisyui/tailwind 2024-02-19 16:28:58 -05:00
Aaron William Po
9f1d09a61d refactor brewery post requests 2024-02-16 02:04:26 -05:00
Aaron William Po
fdbadb63dc refactor image services 2023-12-13 10:03:03 -05:00
Aaron William Po
4b2ce394c1 Refactor: further extract controller logic from routers 2023-12-04 16:46:27 -05:00
Aaron William Po
30f2147566 Format: update prettier configuration to use tailwind plugin 2023-12-01 18:18:43 -05:00
Aaron William Po
208fdc3177 Refactor: remove multer-storage-cloudinary 2023-12-01 02:11:46 -05:00
Aaron William Po
a435e011f8 Security fix: update password system for database seeding 2023-11-27 14:41:09 -05:00
Aaron William Po
468c220eaa Update next.js to recent version, style updates 2023-11-25 22:06:53 -05:00
Aaron William Po
cd621fdf21 fix and upgrade: bump next js to v14, remove public mapbox token 2023-11-24 00:07:00 -05:00
Aaron William Po
c3a991f938 feat: add reset password functionality 2023-11-23 21:06:50 -05:00
Aaron William Po
b939219c67 Fix: update dependencies, remove sparkpost-node
This commit removes the sparkpost-node and switches to using a raw api call using fetch. This commit also updates the dependency react-email.
2023-11-12 18:28:26 -05:00
Aaron William Po
3b626e2f95 Refactor: update types for brewery comments 2023-10-07 15:21:57 -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
77e358e2b5 Fix: downgrade typescript to fix stack overflow error in compiler 2023-06-10 22:19:45 -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
b644e7eeee Update: Implement delete account feature + package updates 2023-06-01 20:20:45 -04:00
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 William Po
27e72d3dcf Refactor: Organize api requests by type and remove toastContext 2023-05-22 12:18:31 -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
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
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
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
954892a5ca chore: update dependencies 2023-05-02 23:24:06 -04:00
Aaron William Po
99e3eba7d6 Feat: add vercel analytics 2023-04-30 13:25:23 -04:00
Aaron William Po
c19cddceb7 Create location table for brewery post locations 2023-04-26 08:37:59 -04:00
Aaron William Po
4aeafc0de8 Feat: Implement mapbox for geocoding and location data for brewery posts 2023-04-24 21:45:25 -04:00
Aaron William Po
2dfb080d0c Implement theming 2023-04-21 23:31:09 -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
08422fe24e Restructure codebase to use src directory 2023-04-11 23:32:06 -04:00
Aaron William Po
90f2cc2c0c Begin work on tab components for beer by id page 2023-04-11 22:18:29 -04:00
Aaron William Po
ea3e8a0023 Refactor beer comment section and incorporate image carousel
Beer comment section now uses a ternary expression for isLoading. Image carousel implemented in beer by id page.
2023-04-11 20:23:55 -04:00
Aaron William Po
915adb722a Implement react-intersection-observer to facilitate infinite scroll
Uses react-intersection-observer to load more comments when the last of the previously loaded comments is in the viewport.
2023-04-09 18:41:58 -04:00
Aaron William Po
0d3785ad1a Add environment variable validation and parsing
Adds a validation schema for the application's environment variables using the Zod library. The parsed environment variables are then exported as constants that can be imported throughout the application, replacing the direct use of process.env.
2023-04-07 11:37:30 -04:00
Aaron William Po
fe683282b2 Package updates
update types in /api/users/login to avoid tsc error
2023-04-04 22:07:04 -04:00
Aaron William Po
796a5fce3f Styling changes and refactor
Switch google fonts to use Next.js font optimization, animate comment fade in, and refactor beer like handler and comment submit handler.
2023-04-04 20:51:29 -04:00
Aaron William Po
2efc506250 Add beer search feature
This commit adds the necessary components and hooks to implement a beer search feature on the website. It includes the following changes:

- Add a new BeerSearch API route that returns a list of beers matching a search query.
-  Implement a new hook useBeerPostSearch that utilizes SWR to fetch data from the API and parse it using a schema.
- Add a new page SearchPage that displays a search input field and a list of beer search results.
- Use lodash's debounce function to avoid making too many requests while the user is typing in the search input field.
2023-03-27 19:02:03 -04:00
Aaron William Po
584e3b349f Implement confirm user functionality
This commit adds the necessary functionality to confirm a user's account.

It includes the addition of a new column in the user table to track whether an account is confirmed or not, and the implementation of JWT for confirmation tokens.

This commit integrates the SparkPost API as well as React Email to send dynamic emails for whatever purpose.

Upon user registration, a confirmation email will be sent to the user.
2023-03-13 22:35:57 -04: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
0b006090c5 Update package.json to add vercel-build script 2023-02-13 18:30:21 -05:00
Aaron William Po
ea516e91b5 Rename "user" column in beerPostLikes, add ERD gen 2023-02-13 17:15:10 -05:00