NextJS-Mongo-Tailwind-AuthJS-JS-starter Tailwind Templates

Nextjs Mongo Tailwind Authjs Js Starter

A template for projects being built on NextJS, MongoDB & TailwindCSS in JavaScript

NextJS-Mongo-Tailwind-AuthJS-JS-starter

A beginning file structure for projects being built on NextJS, MongoDB, AuthJS and TailwindCSS in JavaScript rather than TypeScript.

Getting Started

To get started, clone, fork or download this repository into your own.

Then, create a .env.local file on the root level with the following variables:

  • MONGODB_URI
  • NODE_ENV
  • NEXTAUTH_URL
  • DB_NAME
  • JWT_SECRET

This example has the Google login already configured, if you wish to utilize it also add the following variables to your .env:

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET

Top categories

Loading Svelte Themes