/app/(sanity)/
- Code for the Sanity Studio frontend/app/(website)/
- Registration platform frontend/app/(dashboard)
- School Dashboard frontend/app/api/
- Backend API/components/
- Frontend components/sanity/
- Sanity schema and configurations/util/data/
- Data files/util/hooks/
- Custom hooks for the frontend
/
- Home page/studio
- Sanity studio (only for admins)/events
- Events description/contact
- Contact details/dashboard
- Management dashboard/profile
- Profile editing/teams
- Team management page/[event]
- Manage teams of a specific event/groups/[group]
- Manage teams of events of a specific group
/user/
/signin
- Sign In page/register
- Registration page/verify
- Email verification confirmation page/logout
- User logout route/forgot
- Password forgot route/reset
- Password reset route
- Clone the repo
- Copy the
.env.example
to.env
and change the content - Run
pnpm install
andpnpm run dev
(ornpm
if you prefer that) - If you're using a fresh Sanity content lake,
- Create pages for all events in Sanity Studio
- update the
Images
object in/util/data/Events.ts
based on the exact name of events and groups
User
Field Name | Type | Description |
---|---|---|
_id |
string |
Internal ID |
name |
string |
Name of the school |
email |
string |
Email of the school |
emailVerified |
boolean |
Email verification |
password |
string |
Password of the account |
phone |
string |
Contact number |
teacher |
string |
Teacher Incharge |
teacherEmail |
string |
Email of teacher incharge |
teacherEmailVerified |
boolean |
Teacher incharge email verification |
principal |
string |
Principal of the school |
address |
string |
Address of the school |
ncr |
boolean |
School in NCR or not |
teams |
Object |
Teams object (check /utils/types.ts ) |
Event
Field Name | Type | Description |
---|---|---|
name |
string |
Name of the event |
classes |
string |
Classes eligible for the event |
teams |
number |
Max. teams per school |
participants |
number |
Max. participants per team |
independent |
boolean |
Independent registrations |
registrations |
boolean |
Registrations enabled |
summary |
string |
Summary of the event for the modals |
group |
string |
Group of the event (RK/DS/Build/etc.) |
description |
string[] |
Description of the event |