Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jane-does-coding/nextjs-auth-template
https://github.com/jane-does-coding/nextjs-auth-template
mongodb nextauth nextjs prisma tailwind
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jane-does-coding/nextjs-auth-template
- Owner: jane-does-coding
- License: mit
- Created: 2024-05-28T22:08:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-28T22:44:32.000Z (7 months ago)
- Last Synced: 2024-06-09T00:24:49.510Z (7 months ago)
- Topics: mongodb, nextauth, nextjs, prisma, tailwind
- Language: TypeScript
- Homepage:
- Size: 5.76 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auth Template
## Functionality
- Signup
- Login
- Logout
- Strong Password check## Usage
Clone the project
```
git clone https://github.com/YevheniiaSimaka/Nextjs-Auth-Template
```Install dependencies
```
npm i
```Create .env
```
DATABASE_URL=
NEXTAUTH_SECRET=
```Set up prisma
```
npx prisma generate
npx prisma db push
```Run it
```
npm run dev
```