Commit Graph

8 Commits

Author SHA1 Message Date
64ecf69202 refactor(api): Update invitation handling and dashboard components
- Refactored invitation API routes to improve error handling and response structure.
- Enhanced the GET and POST methods for invitations to return JSON responses.
- Updated the DELETE method to provide clearer success and error messages.
- Improved the dashboard page to display statistics for studies, participants, and active invitations.
- Added loading states and error handling in the dashboard and participants pages.
- Updated TypeScript configuration to relax strict checks and include additional type roots.
- Modified the Next.js configuration to ignore type errors during builds.
- Added new dependencies for Radix UI components in the pnpm lock file.
2024-12-04 09:52:37 -05:00
3ec8b2fe46 feat(env): Update environment configuration and enhance email functionality
- Renamed DATABASE_URL to POSTGRES_URL in .env.example for clarity.
- Added SMTP configuration for email sending, including host, port, user, password, and from address.
- Updated package.json to include new dependencies for email handling and UI components.
- Modified middleware to handle public and protected routes more effectively.
- Enhanced API routes for studies to support user roles and permissions.
- Updated database schema to include invitations and user roles related to studies.
- Improved user permissions handling in the permissions module.
- Added new utility functions for managing user roles and study access.
2024-12-03 23:02:23 -05:00
b4a05e0bcd Clean codebase- start from scratch 2024-11-19 22:14:54 -05:00
6584a48f27 Form implementation, api routes 2024-09-26 16:04:57 -04:00
66137ff7b4 Begin file upload, add theme change 2024-09-26 01:00:46 -04:00
ccc3423953 Update participant and study API routes 2024-09-25 22:13:29 -04:00
0e019e3c30 create database connection 2024-09-18 18:38:35 -04:00
ce046c2062 Initial commit 2024-09-14 23:38:24 -04:00