- Create .env file in side root directory
- Create mongodb database
- paste mongodb connection string in .env file ( e.g.
MONGODB_URI=mongodb+srv://...
) - paste nextjs secret string in .env file ( e.g.
NEXTAUTH_SECRET=nextjsauth
) - start development server using
npm run dev
- enjoy 😎