Ready to go template repository for your next Next.js application! 🚀
- ⭐️ Next.js@10.x
- ⭐️ Tailwind@2.x
- ⭐️ 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.
yarnOnce the task is completed you can start the app with yarn dev.
# development mode
yarn dev
# production mode
yarn build
yarn startThe 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 lintDeploy nextjs-template using Vercel:
nextjs-template also provides a Docker Image (see docker) and
docker-compose setup.
./gradlew buildDockerImage./gradlew runDockerBuildOr when you want to run it in the background:
docker-compose --env-file ./.env.local up -dThanks 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.
