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

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

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.