Documentation ( πŸ‘€ )

Hey πŸ‘‹πŸΏ! I’m Yeabsra, a web and mobile developer from Ethiopia. I’ve put together my preferred tech stack and starter template for a Next.js full stack project. It includes Next.js, Mongoose, Zod, Shadcn, Tailwind, and NextAuth, using pnpm. Feel free to use it if you want. Let’s connect and create something awesome together!

authIcon

☝🏿Step 2

β•°β”ˆβž€ Change the .env.example to .env.local as you see on the example

test

β•°β”ˆβž€open the .env file and uncomment the Database URL your preferred one [Atlas or Local]

test

β•°β”ˆβž€ lib folder contains the connection logic for mongoose and Next js no need to touch it
β€’ use the model folder to define your schema

test

β•°β”ˆβž€ Don't forget to call theconnectDB function when creating api Routes in your app/api folder

test

Congrats πŸ₯³ You are all set πŸŽ‰.Good Luck with your project