hkirat / full-stack-assignment

https://full-stack-assignment-two.vercel.app
228 stars 862 forks source link

Solution for the given Assignment #532

Open dwi11harsh opened 1 year ago

dwi11harsh commented 1 year ago

hard todo is also attempted in the solution it was to Create a route that lets an admin add a new problem and ensure that only admins can do that.

in the gives solution to the hard todo the code expects to get an email, a password and the question as an object in the body of the post request