Files
slaapkampioenv2/package.json
Sam Geyskens 06ff840762
Some checks failed
Deploy / deploy (push) Failing after 50s
feat: add sleep tracking features with leaderboard and user authentication
- Implemented a new HomePage component displaying the leaderboard.
- Created Providers component for session management using next-auth.
- Developed Header component for navigation and user authentication.
- Added Leaderboard component to fetch and display sleep data.
- Introduced SleepCard component for individual sleep entries.
- Created SleepForm component for logging sleep data with manual input options.
- Added SleepPhaseBar component to visualize sleep phases.
- Implemented utility functions for formatting and calculating sleep data.
- Set up authentication with Discord using next-auth and Prisma.
- Configured middleware for protected routes.
- Added TypeScript definitions for next-auth session.
- Configured Tailwind CSS for styling.
- Initialized TypeScript configuration for the project.
2026-05-14 23:45:25 +02:00

33 lines
774 B
JSON

{
"name": "sleep-tracker",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"db:migrate": "prisma migrate deploy",
"db:studio": "prisma studio",
"db:generate": "prisma generate"
},
"dependencies": {
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^5.16.0",
"next": "^14.2.5",
"next-auth": "^4.24.7",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@types/node": "^20.14.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"prisma": "^5.16.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5"
}
}