full-stack-assignment
full-stack-assignment copied to clipboard
I made all the required changes. All the dummy routes are ready, Check this out, this is my first PR.
tried to make logic also used GPT for learning little bit confusion abut whre to store (cokkie or else) but i will learn it
1. Signup route implemented 2. Signin route implemented, a random token is generated currently 3. questions route implemented which returns the questions array 4. submissions get and post routes implemented
my first pull request , made necessary changes
- Included dummy users, admins, questions & submissions - Added Signup & login end points - Added Get & Post for questions endpoints. Get for users to get the questions...
- Implemented user signup and login routes with role support (admin/user) - Added GET /problems for fetching all problems - Added POST /problems (restricted to admin) for adding new problems...