https://github.com/mozzius/next13-with-auth
example with email and github auth
https://github.com/mozzius/next13-with-auth
Last synced: about 1 year ago
JSON representation
example with email and github auth
- Host: GitHub
- URL: https://github.com/mozzius/next13-with-auth
- Owner: mozzius
- Created: 2023-04-01T23:08:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T10:27:13.000Z (about 3 years ago)
- Last Synced: 2025-03-19T20:52:28.844Z (about 1 year ago)
- Language: TypeScript
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next 13 App Dir Template with Authentication
## Installation
First, copy `.env.example` to `.env.local` and fill in the values.
This will involve setting up an application on Github, and configuring an email provider. I use AWS SES, but there are probably easier options out there.
Then, install dependencies:
```bash
pnpm install
```
You now should be ready to go. Just use `pnpm dev` to start the development server.
## Deployment
Use Vercel. Remember to change the `NEXTAUTH_URL` to your production URL.
## Credit
Based off of shadcn's `next-template`, with `taxonomy` used heavily for reference for Next 13 / Next Auth integration. It also ended up looking very similar, sorry about that.