Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Nextjs template
https://github.com/liolle/nextjs-template

Last synced: 26 days ago
JSON representation

Nextjs template

Awesome Lists containing this project

README

        

# Nextjs-template

### VSCode auto-format setting

Add the following extensions

- Prettier - Code formatter
- ESLint

### Doc : (coming soon)

### Deploying

#### Vercel

- Create a Vercel [API Token](https://vercel.com/guides/how-do-i-use-a-vercel-api-access-token)

- Run vercel login

```
npx vercel login
```

- Run vercel link to create a new Vercel project and get your VERCEL_ORG_ID, and VERCEL_PROJECT_ID (.vercel/project.json) .

- Inside GitHub, add VERCEL_TOKEN, VERCEL_ORG_ID, and VERCEL_PROJECT_ID as [secrets]("https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions")

Test the workflow by pushing modifications on the production brach.