Skip to content

BuildCanada/nextjs-template

Repository files navigation

Build Canada NextJS App Template

Getting Started

  • Fork the repo, clone it, and install dependencies:

    git clone https://github.com/BuildCanada/nextjs-template.git
    cd nextjs-template
    pnpm install
  • Run the app

    pnpm turbo
  • 🎉 Time to explore! Head over to http://localhost:4444 to see your local instance in action!

Linting

This project uses ESLint with Next.js configuration. Run linting with:

pnpm lint          # Check for linting issues
pnpm lint:fix      # Auto-fix auto-fixable issues

The linting configuration enforces TypeScript best practices, React rules, and Next.js optimizations while keeping most issues as warnings (temporarily) to avoid blocking development.

Git Hooks

This project automatically runs linting checks before each commit using simple-git-hooks. This is enabled automatically when you run pnpm install. If you need to enable it manually:

npx simple-git-hooks

If linting fails, the commit will be blocked until issues are resolved.

Contributing

We would love to have your help! Please fill in our volunteer intake form.

About

Template for starting NextJS based apps for Build Canada.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published