Commit Graph

12 Commits

Author SHA1 Message Date
Julien Froidefond
3fd3e165e2 chore: update docker-compose port mapping and upgrade Next.js and dependencies in package.json 2025-12-05 10:53:14 +01:00
Julien Froidefond
6db4921d0f feat: add lint:fix command to package.json and update French text for consistency across various components 2025-10-12 16:09:31 +02:00
Julien Froidefond
7d12a66c12 refactor: migrate authentication to NextAuth and clean up related services 2025-10-12 15:45:09 +02:00
Julien Froidefond
ad5aa04d69 chore: dev with turbopack 2025-08-26 07:10:39 +02:00
Julien Froidefond
e12816a9c2 fix: double skills cleaning and script 2025-08-25 22:46:36 +02:00
Julien Froidefond
5c71ce1a54 refactor: update authentication flow and cookie management
- Changed COOKIE_NAME from "peakSkills_userId" to "session_token" for better clarity.
- Updated AuthClient to handle login and registration with new data structures.
- Enhanced AuthWrapper to manage user sessions and display appropriate messages.
- Added error handling in LoginForm and RegisterForm for better user feedback.
- Refactored user service methods to streamline user creation and verification processes.
2025-08-25 16:19:31 +02:00
Julien Froidefond
caf396d964 feat: adding login/RegisterForm and new columns in PG 2025-08-25 14:02:07 +02:00
Julien Froidefond
a4b680b092 refactor: update database setup and remove skills migration API
- Changed migration commands in DATABASE_SETUP.md to use `pnpm run sync-skills` and `pnpm run sync-teams`.
- Removed the skills migration API endpoint in route.ts, streamlining the migration process.
- Updated MIGRATION_UUID.md to reflect changes in migration steps and removed the old skills migration script.
- Added new sync scripts for skills and teams in package.json.
- Cleaned up init.sql by removing old teams data insertion and adjusted comments for clarity.
2025-08-21 15:21:36 +02:00
Julien Froidefond
c7ac6fc920 feat: generation data script 2025-08-21 14:12:30 +02:00
Julien Froidefond
4e82a6d860 feat: add PostgreSQL support and enhance evaluation loading
- Added `pg` and `@types/pg` dependencies for PostgreSQL integration.
- Updated `useEvaluation` hook to load user evaluations from the API, improving data management.
- Refactored `saveUserEvaluation` and `loadUserEvaluation` functions to interact with the API instead of localStorage.
- Introduced error handling for profile loading and evaluation saving to enhance robustness.
- Added new methods for managing user profiles and evaluations, including `clearUserProfile` and `loadEvaluationForProfile`.
2025-08-21 08:46:52 +02:00
Julien Froidefond
f74d4d3e87 Add Font Awesome icons and refactor tech icon handling
- Added Font Awesome dependencies for enhanced icon support.
- Refactored tech icon components to utilize Font Awesome icons instead of custom SVGs.
- Updated skill data files to include icon properties for various technologies.
- Removed obsolete tech icon files to streamline the codebase.
2025-08-20 16:24:07 +02:00
Julien Froidefond
09d2c5cbe1 init 2025-08-20 15:43:24 +02:00