This project now includes a user dashboard which aggregates a user's registrations, upcoming events (with countdowns), achievements, certificates, badges, and participation history.
How to try it locally:
- Start the backend:
cd backend; npm install; npm run dev- Start the frontend:
cd frontend; npm install; npm run dev-
Register or login using the frontend (or create a user via the API), then visit:
- Frontend dashboard: http://localhost:3000/dashboard
API endpoint (protected): GET /api/gamification/dashboard/me
Example cURL (replace with your bearer token):
curl -H "Authorization: Bearer <TOKEN>" https://event-link-six.vercel.app//api/gamification/dashboard/meCertificates are available at GET /api/certificates/:registrationId (protected). This is currently a placeholder implementation which returns a JSON stub. In future this can be extended to generate and return real PDF certificates.