An open API service indexing awesome lists of open source software.

https://github.com/thoth2357/django-user-roles-showcase

Company said they doubted my skills, I realised that they just wanted to use me.Decided to take the test within a deadline of 4 hours just for showoff
https://github.com/thoth2357/django-user-roles-showcase

django interview template user-roles

Last synced: 3 months ago
JSON representation

Company said they doubted my skills, I realised that they just wanted to use me.Decided to take the test within a deadline of 4 hours just for showoff

Awesome Lists containing this project

README

        

**Job Question....Attempted for showoff.**

> Cause i dont really like the idea of doing a job test before giving out the job and not paying for that time.

**the question is below**

>Create a project that allows a principal, teacher, student sign up to an application
>Note: They can either sign up as teachers, students or principals

>Give the principal the ability to create accounts by adding teachers and to create and add students under a specific teacher in his school
E.g Principal A adds teacher B and assigns student C to teacher B

>Give the teacher the ability to add students to their class also

>KEY POINTS:
>Principal can only add teacher he creates
>Teacher can only add student created by principal or himself

>Frontend Design not needed.Just backend.

***URLS AFTER COMPLETION***

http://127.0.0.1:9000/create-teachers/ - route for principal to create teachers and assign student to them

http://127.0.0.1:9000/ - route for signup page

http://127.0.0.1:9000/create-teachers/ - route for only principals who are logged in

http://127.0.0.1:9000/login/ - route for login purposes

http://127.0.0.1:9000/logout - route for logout purposes

** INCASE YOU FIND YOURSELF HERE AND YOU SEE SOMETHING TO CHANGE OR CORRECT ME.I'M VERY AVAILABLE **