Skip to content

UnusualAbsurd/example-user-account

Repository files navigation

Example React NextJS Login and Sign Up User using MongoDB for database and SASS for styling

Live Example

example-login-signup-nextjs.netlify.app/

How to use

git clone https://github.com/UnusualAbsurd/example-user-account
cd example-user-account
npm install
npm run dev

.env.local content :

MONGODB_URI=
MONGODB_NAME=
COOKIE_SECRET=

Generate the COOKIE_SECRET from 1password.com/password-generator minimum 32 length
MONGODB_URI will be the mongodb SRV
MONGODB_NAME will the the DB / Collection name

Utilities