Commit Graph

52 Commits

Author SHA1 Message Date
dependabot[bot]
879bf614cd Build(deps): Bump tar from 6.2.0 to 6.2.1
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 12:31:52 +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
0de4697e77 Refactor: update like services 2023-12-13 12:49:54 -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
804950548c update package-lock 2023-10-23 23:23:35 -04: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
44c71ea718 fix: push package-lock and remove unused deps 2023-08-12 23:28:39 -04: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
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
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
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
7185734f3c Update readme, add docs to useMediaQuery, fix security issue with vm2 2023-04-12 21:41:19 -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
cbc5671b0e Fix login glitch where user session wouldn't load properly into context 2023-04-08 02:46:42 -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
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
ea516e91b5 Rename "user" column in beerPostLikes, add ERD gen 2023-02-13 17:15:10 -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
087a1a4513 Implement authentication using Passport.js 2023-02-05 19:27:19 -05:00
Aaron William Po
5cf2087cd1 Refactored api services into sep files. Client fix
Fixed hydration errors in beers/[id] by implementing timeDistanceState
2023-01-31 23:16:43 -05:00
Aaron William Po
0b96c8f1f5 Did more work to beer post page, seed
Worked on comments and beer recs features. Fine tuning database seed amounts.
2023-01-29 21:53:05 -05:00
Aaron William Po
fe277d5964 Refactor api requests and components out of pages 2023-01-28 21:05:20 -05:00
Aaron William Po
d0bced1376 Add create beer, beer post page 2023-01-24 21:03:31 -05:00
Aaron William Po
972846f5a8 scaffold create/edit beer form, scaffold beer page 2023-01-23 20:13:25 -05:00
Aaron William Po
f08731de17 Edit seed db function 2023-01-22 23:49:58 -05:00
Aaron William Po
0065525f5c Add beer post, brewery post GET service and page
Add prettier, eslint config
2023-01-22 20:56:33 -05:00