billychen0894 / florist-ecommerce-app

Florist eCommerce App built with Next.js 14
https://florist-ecommerce-app.vercel.app
0 stars 0 forks source link

Feat/auth: Move from Clerk/Nextjs to Next-Auth for Project Suitability #17

Closed billychen0894 closed 1 year ago

billychen0894 commented 1 year ago

After a thorough review between Clerk and Next-Auth, the decision has been made to move from Clerk to Next-Auth for auth because Next-Auth allows to manage user roles. Clerk has similar feature, which is Organization; however, this was built for project and team lead perspective. What this project wants is that Admin role can access to the dashboard to modify/update/create/view products and orders and User role can only access to the public routes of the app as well as their own account pages