Link = https://afe-assignment-2-git-main-ts-projects-d4fc45b2.vercel.app/?_vercel_share=WfAdEccqweoKLBWDW7iRwcowu3zZQEoi
cd fitinafartnpm run dev- Go to http://localhost:3000
- Next.js
- Must include both server-side and client-side components
- Must be deployed to a public cloud (Vercel)
Your submission consists of 3 parts:
- A video where you demonstrate that your app fulfills the requirements.
- Your solution as a zip package as described below.
- Link to where your app is deployed.
- Your chosen prefix.
- Delete the
node_modulesfolder in the workspace root folder - Add a file
participants.txtand insert a new line for each participant with the AUID and name of each member separated by whitespace - Add
participants.txtto the root folder of your application - Archive and compress you application using zip. All other formats will result in a request for resubmission.
- The filename should be named
<AUID_PARTICIPANT_1>-<AUID_PARTICIPANT_2>-<AUID_PARTICIPANT_3>.<ARCHIVE_COMPRESS_FORMAT>Example: Alice with AUIDau01248and Bob with AUIDau84210creates a compressed archive namedau01248-au84210.zipand uploads it to Brightspace Exampleparticipants.txtcontents:au01248 Alice au84210 Bob
- Video:
- Zipped solution:
- Link:
- Chosen prefix:
33minators
| Hvad | Route | Hvem |
|---|---|---|
| Other | ||
| Loginside | / | Unauthorized |
| Create Users | /register | Manager Personal Trainer |
| Personal Trainer | ||
| New workout program | /new-program | Personal Trainer |
| New exercise | /new-exercise | Personal Trainer |
| Get a list of clients | /clients | Personal Trainer |
| Personal Trainer + Client | ||
| Get workout programs | /program | Personal Trainer, Client |
| Get specific workout | /program/[id] | Personal Trainer, Client |
- Manager
- Email =
33minators_boss@fitness.dk - Password =
asdfQWER - FirstName =
Manager - LastName =
The Boss - AccountType =
Manager
- Email =
- Personal trainers
- 1
- Email =
33minators_m@fit.dk - Password =
aQ - FirstName =
Superman - LastName =
Mars - AccountType =
PersonalTrainer
- Email =
- 2
- Email =
33minators_w@fit.dk - Password =
aZ - FirstName =
Superwoman - LastName =
Venus - AccountType =
PersonalTrainer
- Email =
- 1
- Clients
- 1
- Email =
33minators_c1@fit.dk - Password =
aA - FirstName =
John - LastName =
Doe - AccountType =
Models.Enums.Role.Client - PersonalTrainerId =
2
- Email =
- 2
- Email =
33minators_c2@fit.dk - Password =
aA - FirstName =
Jane - LastName =
Doe - AccountType =
Models.Enums.Role.Client - PersonalTrainerId =
3
- Email =
- 1
