Open errorgenerator opened 1 year ago
We need a custom Login and Register Page for our Users.
Styling is not important at this stage, functionality comes first.
Reusable Components should go into src/components don't put them in the src/app directory or else the server will serve them standalone as well.
src/components
src/app
A quick tutorial on how to implement custom login pages: https://codevoweb.com/nextjs-use-custom-login-and-signup-pages-for-nextauth-js/
The configuration for Next-Auth can be found in: src/app/api/auth/[...nextauth]/route.ts
src/app/api/auth/[...nextauth]/route.ts
Documentation for Next-Auth in general can be found here: https://next-auth.js.org/
also, check the discord channel: The .env file can be found there.
Description:
We need a custom Login and Register Page for our Users.
Info for dev:
Styling is not important at this stage, functionality comes first.
Reusable Components should go into
src/components
don't put them in thesrc/app
directory or else the server will serve them standalone as well.A quick tutorial on how to implement custom login pages: https://codevoweb.com/nextjs-use-custom-login-and-signup-pages-for-nextauth-js/
The configuration for Next-Auth can be found in:
src/app/api/auth/[...nextauth]/route.ts
Documentation for Next-Auth in general can be found here: https://next-auth.js.org/