An open API service indexing awesome lists of open source software.

https://github.com/unusualabsurd/example-user-account

An example of login and signup user website
https://github.com/unusualabsurd/example-user-account

login login-forms login-page login-system login-template mongodb nextjs nodejs react signup signup-form signup-page signup-template

Last synced: about 2 months ago
JSON representation

An example of login and signup user website

Awesome Lists containing this project

README

          

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

# Live Example

[example-login-signup-nextjs.netlify.app/](https://example-login-signup-nextjs.netlify.app/)

## How to use

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

## .env.local content :

```env
MONGODB_URI=
MONGODB_NAME=
COOKIE_SECRET=
```

Generate the `COOKIE_SECRET` from [1password.com/password-generator](https://1password.com/password-generator/)
**_minimum 32 length_**

`MONGODB_URI` will be the mongodb SRV

`MONGODB_NAME` will the the DB / Collection name

## Utilities

- [NextJS](https://nextjs.org)
- [MongoDB NodeJS Driver](https://docs.mongodb.com/drivers/node/current/)
- [Iron Session](https://npmjs.com/package/iron-session)
- [Axios](https://axios-http.com/)
- [Next Seo](https://npmjs.com/package/next-seo)
- [Sass](https://sass-lang.com/)
- [Dicebear](https://avatars.dicebear.com/)