Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/duckymomo20012/nextjs-template

My NextJS template
https://github.com/duckymomo20012/nextjs-template

mantine next-auth nextjs react react-query redux windicss

Last synced: about 4 hours ago
JSON representation

My NextJS template

Awesome Lists containing this project

README

        





NextJS Template


A simple NextJS template



contributors


last update


forks


stars


open issues


license


View Demo
·
Documentation
·
Report Bug
·
Request Feature



# :notebook_with_decorative_cover: Table of Contents

- [About the Project](#star2-about-the-project)
- [Screenshots](#camera-screenshots)
- [Tech Stack](#space_invader-tech-stack)
- [Features](#dart-features)
- [Color Reference](#art-color-reference)
- [Environment Variables](#key-environment-variables)
- [Getting Started](#toolbox-getting-started)
- [Prerequisites](#bangbang-prerequisites)
- [Run Locally](#running-run-locally)
- [Running Tests](#test_tube-running-tests)
- [Deployment](#triangular_flag_on_post-deployment)
- [Usage](#eyes-usage)
- [Roadmap](#compass-roadmap)
- [Contributing](#wave-contributing)
- [Code of Conduct](#scroll-code-of-conduct)
- [FAQ](#grey_question-faq)
- [License](#warning-license)
- [Contact](#handshake-contact)
- [Acknowledgements](#gem-acknowledgements)

## :star2: About the Project

### :camera: Screenshots


screenshot

### :space_invader: Tech Stack

Client

Server

Database

DevOps

### :dart: Features

- Feature 1.
- Feature 2.
- Feature 3.

### :art: Color Reference

| Color | Hex |
| --------------- | ---------------------------------------------------------------- |
| Primary Color | ![#222831](https://placehold.jp/222831/222831/10x10.png) #222831 |
| Secondary Color | ![#393E46](https://placehold.jp/393E46/393E46/10x10.png) #393E46 |
| Accent Color | ![#00ADB5](https://placehold.jp/00ADB5/00ADB5/10x10.png) #00ADB5 |
| Text Color | ![#EEEEEE](https://placehold.jp/EEEEEE/EEEEEE/10x10.png) #EEEEEE |

### :key: Environment Variables

To run this project, you will need to add the following environment variables to
your `.env` file:

- **NextAuth configs:**

`NEXTAUTH_SECRET`: Used to encrypt the NextAuth.js JWT, and to hash email
verification tokens.

`NEXTAUTH_URL`: When deploying to production, set the `NEXTAUTH_URL` environment
variable to the canonical URL of your site.

> **Note**: Doesn't have to set `NEXTAUTH_URL` when deploying to vercel.

E.g:

```
# .env
NEXTAUTH_SECRET="my-secret-key"
NEXTAUTH_URL="http://localhost:3000/"
```

You can also check out the file `.env.example` to see all required environment
variables.

## :toolbox: Getting Started

### :bangbang: Prerequisites

This project uses [pnpm](https://pnpm.io/) as package manager:

```bash
npm install --global pnpm
```

### :running: Run Locally

Clone the project:

```bash
git clone https://github.com/DuckyMomo20012/nextjs-template.git
```

Go to the project directory:

```bash
cd nextjs-template
```

Install dependencies:

```bash
pnpm install
```

Start the server:

```bash
pnpm dev
```

### :test_tube: Running Tests

To run tests, run the following command:

```bash
pnpm test
```

### :triangular_flag_on_post: Deployment

To deploy this project run:

```bash
pnpm deploy
```

## :eyes: Usage

Use this space to tell a little more about your project and how it can be used.
Show additional screenshots, code samples, demos, or links to other resources.

```jsx
// foo.jsx
import Component from 'nextjs-template';

function App() {
return ;
}
```

## :compass: Roadmap

- [x] Todo 1.
- [ ] Todo 2.

## :wave: Contributing



Contributions are always welcome!

### :scroll: Code of Conduct

Please read the [Code of Conduct](https://github.com/DuckyMomo20012/nextjs-template/blob/main/CODE_OF_CONDUCT.md).

## :grey_question: FAQ

- Question 1

- Answer 1.

- Question 2

- Answer 2.

## :warning: License

Distributed under MIT license. See
[LICENSE](https://github.com/DuckyMomo20012/nextjs-template/blob/main/LICENSE)
for more information.

## :handshake: Contact

Duong Vinh - [@duckymomo20012](https://twitter.com/duckymomo20012) -
[email protected]

Project Link: [https://github.com/DuckyMomo20012/nextjs-template](https://github.com/DuckyMomo20012/nextjs-template).

## :gem: Acknowledgements

Here are useful resources and libraries that we have used in our projects:

- [Awesome Readme Template](https://github.com/Louis3797/awesome-readme-template):
A detailed template to bootstrap your README file quickly.