Boilerplate with focus on best practices and painless developer experience:
- Minimal setup that can be extended 🔧 (no UI, fetching, validation, lodash... utility libraries 🎉)
- Easily spin up local dev environment 🌀
- RESTful APIs
- End-To-End type safety with TypeScript (Database <-> API <-> Frontend)
Easily set up a local development environment
- clone the repo
npm run db-start
- Creates Postgres database container, seeded with Breaking Bad characters 💊npm run dev
- Start NextJs 🚀
Visit localhost:3000
- Prisma v4 ORM
- TypeScript v4 codebase with Strict Configuration
- NextJs RESTful API
- Unit and integration tests with Jest
- Easily start local development using Docker Compose by spinning up seeded database
npm run db-start
(default credentialsuser=walter
,password=white
.env file) - Linting with ESLint
- Prettier code formatter
- Git hooks with Husky and lint-staged
- Commit messages must meet conventional commits format.
After staging changes just runnpm run commit
and get instant feedback on your commit message formatting and be prompted for required fields by Commitizen
All contributions are welcome!