We are creating fullstack application using
- Next JS and typscript
- MongoDB as database
- Mongoose for ORM- Object relational mapper
- ZOD for validation
- Auth Js for authentication
- Tailwind and Semantic ui
- bcrypt js for password hasing algorithms
- resend email for email sending and react-email for template.
How to start with this application and understand flow of application ~ npx create-next-app@latest ~ install all the dependency like mongoose, zod, auth-js, resend, react-email, semantic ui, bcyptjs.
app/model/user.model.ts
- Auth provider logic inside api/auth folder
- creating API for sign-up user
- creating API to check unique user
- creating API to validate the user