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
- Host: GitHub
- URL: https://github.com/unusualabsurd/example-user-account
- Owner: UnusualAbsurd
- Created: 2022-02-09T07:44:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T08:19:55.000Z (over 4 years ago)
- Last Synced: 2025-06-30T00:03:24.695Z (11 months ago)
- Topics: login, login-forms, login-page, login-system, login-template, mongodb, nextjs, nodejs, react, signup, signup-form, signup-page, signup-template
- Language: TypeScript
- Homepage: https://example-login-signup-nextjs.netlify.app/
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)