Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liolle/nextjs-template
Nextjs template
https://github.com/liolle/nextjs-template
Last synced: 26 days ago
JSON representation
Nextjs template
- Host: GitHub
- URL: https://github.com/liolle/nextjs-template
- Owner: liolle
- License: mit
- Created: 2023-09-23T15:20:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T22:07:05.000Z (about 1 year ago)
- Last Synced: 2024-11-14T02:13:35.095Z (3 months ago)
- Language: TypeScript
- Homepage: https://nextjs-template.vertix.tech
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.