This is my submission of the frontend challenge! Deployed App
- I had very little experience with NextAuth, so I took some time to learn and apply.
- I had difficulty handling the roles section at the middleware, and understanding the middleware as a whole in the beginning.
- I would've use Clerk, that gives me everything that I did way faster and free, but I didn't wanned to "cheat", so I used Next-Auth.
- I would've handle the errors in other way than sending a query param to the frontend, just didn't found out a better solution in the mean time.
- Definitely improve the frontend style, the thing is pretty ugly.
- Improve the tests to cover 100% of the project.