Skip to content

A starter template using Next.js, Chakra UI and Passport.js with pre-configured local authentication with MongoDB.

Notifications You must be signed in to change notification settings

codentacos/next-chakra-template

Repository files navigation

Next Chakra Template

A starter template using Next.js, Chakra UI and Passport.js with pre-configured local authentication with MongoDB.

Installation

First you will need to clone a local copy of the repo by running

git clone https://github.com/codentacos/next-chakra-template.git

In the root directory of the project run this command

yarn install

Usage

To start up the project run the following

yarn dev

You will need to create a .env.local file and add a connection string for your MongoDB. The connection string environment variable is used in the database.js middlware here

await mongoose.connect(process.env.MONGODB_URI, {
    useUnifiedTopology: true,
    useNewUrlParser: true,
  });

About

A starter template using Next.js, Chakra UI and Passport.js with pre-configured local authentication with MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published