This is an experimental project using mainly Next.js and Tailwincss with no data fetching from backend APIs.
Staet and Props are handled by useState
and useContext
.
The main focus is to allow teachers to create studnets and races. The teacher is to register studnets into races and record the results.
First, run the development server:
npm install
npm run dev
# or
yarn && yarn dev
Open http://localhost:3000/admin with your browser to see the result.
There is no authentication flow.
Live demo is also available here.
The following is just a rough ER diagram of the system.
- Refactor (standardised duplicated views/funtions, separate out logics stuffed in files from
pages
folder) - Test cases
- Fix requiring absolute path while importing (E.g
.../.../
) - look into code splitting
- find out more on how to write better nextjs
- better folder strucutre
- Do authentication
- Add animiaton or good page/action transitions
- come up with better UX
- Typescript
- dockerize
- 404 page