The Problem- CYF need to keep record of students attendance, punctuality and behaviour during classes. This allows volunteers to manage expense reimbursement, teaching support and general student participation. Currently a manual register is recorded then copied onto a spreadsheet by hand. This method is unreliable and limited.
Our Solution- Develop a tool that'll allow students to log into classes. Their login/logout times will be registered to a database for each class. Volunteers can view this data and flag students to comment or flag common issues.
-link to the app: https://cyf-register.onrender.com/ -Tech stack: HTML, CSS, JavaScript, MongoDB, JSON, react, Node.js -Team Githup names -PM: Dewayne Sewell -FE Dev: Abdirahim Hussein, Luna Mzelo -BE Dev: Jade Jones
npm i in client
npm i in server
you may need to npm i helmet in server separatley
npm start in \client to run react app
npm run dev in \server to run backend node server
Routes
localhost:4200/api/auth/ -post signup localhost:4200/api/auth/login -post login localhost:4200/api/auth/logout -get logout localhost:4200/api/auth/ -get get all users localhost:4200/api/auth/:id -get get user by id localhost:4200/api/auth/:username -get user by username localhost:4200/api/auth/:id -put update user localhost:4200/api/auth/:id -delete delete user localhost:4200/api/auth/create -post create new user
localhost:4200/api/classes/ -get get all classes localhost:4200/api/classes/:id -get get one class by id localhost:4200/api/classes/ -post create new class localhost:4200/api/classes/:id -put modify class localhost:4200/api/classes/:id -delete delete class localhost:4200/api/classes/classsignin/:id -post trainee class sign in localhost:4200/api/classes/classsignout/:id -post trainee class sign out localhost:4200/api/classes/volunteersignin/:id -post volunteer sign in localhost:4200/api/classes/volunteersignout/:id -post trainee classsign in localhost:4200/api/classes/postflag/:id -post trainee flag