This is a Next.js app template. It allows to bootstrap new projects with the followings features out-of-box:
- Intergation with takeda/ui package
- Appropriate code-styling with Prettier and ESLint
- CSS styling with Tailwind
- Unit testing with Vitest
- Authentication with Azure AAD
- GitHub actions for PR checks and deployment
You can check live demo here: https://tbd
- Ensure you have Node.js v16 installed
node -v - Clone repo
git clone https://github.com/VitaliyPotapov/next-app-starter - Setup private npm registry
- Install dependencies
npm i - Create a
.env.localfile with local environment variablestbd - Run development server
npm run dev - Open http://localhost:3000
This project uses trunk-based development. There are the following branches:
main- long-lived branch with actual codebaserelease/x.x- release branches for pre-production code-freeze, regression testing and deploy- all other branches are short-lived feature branches named as
prj-xxx-new-feature
- Target your pull-requests to
mainbranch - Request code review using GitHub
- Get at least 1 approve before merge
tbd
tbd
tbd