https://github.com/shinjith-dev/nextjs-auth
Boilerplate for Nextjs authentication and user management
https://github.com/shinjith-dev/nextjs-auth
authentication next-auth nextjs nextjs13 react typescript
Last synced: about 1 year ago
JSON representation
Boilerplate for Nextjs authentication and user management
- Host: GitHub
- URL: https://github.com/shinjith-dev/nextjs-auth
- Owner: shinjith-dev
- Created: 2023-10-07T06:27:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T07:04:06.000Z (over 2 years ago)
- Last Synced: 2025-02-10T04:29:41.944Z (over 1 year ago)
- Topics: authentication, next-auth, nextjs, nextjs13, react, typescript
- Language: TypeScript
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Next.js Auth
Nextjs boilerplate for Nextjs v13+. With authentication and user management using cookie.
## Features
- Context API instead of external libraries
- Custom hooks approach
- Cookie storage
- Axios instance setup
- TypeScript
## Installation
- Clone this repo
``` sh
git clone https://github.com/shinjith-dev/nextjs-auth.git next-auth
```
or with `ssh`
``` sh
git clone git@github.com:shinjith-dev/nextjs-auth.git next-auth
```
- Install packages
``` sh
cd next-auth
yarn
# or npm i
```
- Start server
``` sh
yarn dev
# or npm run dev
```
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file
``` env
NEXT_PUBLIC_BACKEND_URL =
```
## Contributing
Contributions are always welcome!
See `contributing.md` for ways to get started.