How to setup

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