Ready to go template repository for your next Next.js application! π
- βοΈ [email protected]
- βοΈ [email protected]
- βοΈ Jest
- βοΈ Storybook
- βοΈ ESLint and Prettier
- βοΈ Docker
- βοΈ i18n
- βοΈ Cypress
- βοΈ One-Click deployment to Vercel
Following tools are required:
- Node.js
- Yarn
- Docker
- Java
- Optimized for Visual Studio Code
For easy version management of the requirements above, we recommend using asdf. It will automatically use the nailed versions (see tools-version). For Docker and Java we recommend the latest available versions.
yarn
Once the task is completed you can start the app with yarn dev
.
# development mode
yarn dev
# production mode
yarn build
yarn start
The server comes with a Probe Status HTTP endpoint to test if app is running.
The server comes with a Version HTTP endpoint to see which version is running.
yarn test
yarn lint
Deploy nextjs-template
using Vercel:
nextjs-template
also provides a Docker Image (see docker) and
docker-compose setup.
./gradlew buildDockerImage
./gradlew runDockerBuild
Or when you want to run it in the background:
docker-compose --env-file ./.env.local up -d
Thanks goes to these wonderful people (emoji key):
Stefan Natter π€ |
This project follows the all-contributors specification. Contributions of any kind welcome!
Based on the https://github.com/natterstefan/nextjs-template template.