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.