Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/avneesh0612/next-fullstack-template

A fullstack next.js template with all the fun stuff like next auth, mongodb, prisma, chakra ui
https://github.com/avneesh0612/next-fullstack-template

chakra-ui eslint mongodb nextjs prettier prisma

Last synced: 19 days ago
JSON representation

A fullstack next.js template with all the fun stuff like next auth, mongodb, prisma, chakra ui

Awesome Lists containing this project

README

        

Welcome to FullStack Next.js template 👋

![FullStack Next.js template](/public/og.png)

> A fullstack next.js template with all the fun stuff like next auth, mongodb, prisma, chakra ui

### ✨ [Demo](http://next-fullstack-template.vercel.app/)

## Tech

- Next.js
- Next Auth
- MongoDB
- Prisma
- Chakra UI
- Typescript
- Prettier
- ESlint

## One click deploy

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Favneesh0612%2Fnext-fullstack-template&env=DATABASE_URL,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,NEXTAUTH_SECRET,NEXTAUTH_URL)

## Install

```sh
pnpm
```

## How to use

### Clone the template

```bash
git clone https://github.com/avneesh0612/next-fullstack-template.git
```

### Add environment variables

```
DATABASE_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
```

- Create a new mongodb database and get the connection string
- Create a new google oauth app and get the client id and secret
- Generate a random string for NEXTAUTH_SECRET

```bash
openssl rand -hex 32
```

- Set NEXTAUTH_URL to your domain name (http://localhost:3000 if you are running locally)

## Author

👤 **Avneesh Agarwal**

- Website: https://www.avneesh.tech/
- Twitter: [@avneesh0612](https://twitter.com/avneesh0612)
- Github: [@avneesh0612](https://github.com/avneesh0612)
- LinkedIn: [@avneesh0612](https://linkedin.com/in/avneesh0612)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/avneesh0612/next-fullstack-template/issues).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2022 [Avneesh Agarwal](https://github.com/avneesh0612).

This project is [GPL--3.0](https://github.com/avneesh0612/next-fullstack-template/blob/main/LICENSE) licensed.