diff --git a/donutshop_ecommerce/README.md b/donutshop_ecommerce/README.md index 8b13789..3cb93cd 100644 --- a/donutshop_ecommerce/README.md +++ b/donutshop_ecommerce/README.md @@ -1 +1,11 @@ +# E-commerce web application by Next.js +This project is a fullstack donut delivery web application. We will be useing MongoDB to store data and Amazon S3 to store all images. For user authentication, we will be using NextAuth.js and have two options (google provider and credentials provider) for users to register/login into thier dashboard. + +## Web application architecture + +

+ + +## To start the project +* `npm run dev` \ No newline at end of file diff --git a/donutshop_ecommerce/public/web_app_architechture.png b/donutshop_ecommerce/public/web_app_architechture.png new file mode 100644 index 0000000..1d3316b Binary files /dev/null and b/donutshop_ecommerce/public/web_app_architechture.png differ diff --git a/donutshop_ecommerce/src/app/api/auth/[...nextauth]/route.js b/donutshop_ecommerce/src/app/api/auth/[...nextauth]/route.js index 96cdef4..1f59171 100644 --- a/donutshop_ecommerce/src/app/api/auth/[...nextauth]/route.js +++ b/donutshop_ecommerce/src/app/api/auth/[...nextauth]/route.js @@ -39,7 +39,7 @@ export const authOptions = { }), ], session:{ - strategy: "jwt" + strategy: "jwt", }, };