Commit Graph

21 Commits

Author SHA1 Message Date
Aaron William Po
fdbadb63dc refactor image services 2023-12-13 10:03:03 -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
2ff39613cd begin extracting user controllers out of routes 2023-12-05 22:36:53 -05:00
Aaron William Po
cf89dc92df Restructure account api routes, fix update profile 2023-12-02 22:42:07 -05:00
Aaron William Po
f5941a9ae5 Add NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME to mandatory env vars 2023-12-01 14:55:56 -05:00
Aaron William Po
293200fbe2 Refactor: replace all next/image components with Cloudinary wrapper 2023-12-01 14:33:06 -05:00
Aaron William Po
208fdc3177 Refactor: remove multer-storage-cloudinary 2023-12-01 02:11:46 -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
a435e011f8 Security fix: update password system for database seeding 2023-11-27 14:41:09 -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
6b8682e686 feat: begin work on beer type page and associated api routes 2023-09-17 20:27:33 -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
60e76089f3 Update README and env to mention Neon PG 2023-05-14 14:57:19 -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
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 William Po
85ecc9f062 Migrate database to Vercel postgres 2023-05-02 20:01:12 -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
08422fe24e Restructure codebase to use src directory 2023-04-11 23:32:06 -04:00