Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Auth Template
Screenshot 2024-05-28 at 4 28 29 PMScreenshot 2024-05-28 at 4 28 36 PM

## 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
```