Skip to content

navapbc/template-application-nextjs

Nava Strata

Open source tools for every layer of government service delivery.

Strata is a gold-standard target architecture and suite of open-source tools that gives government agencies everything they need to run a modern service.

Template Next.js React application

This is a template repository for a React web application using the Next.js framework.

See navapbc/strata for other template repos.

Features

  • Framework for server-side rendered, static, or hybrid React applications
  • TypeScript and React testing tools
  • U.S. Web Design System for themeable styling and a set of common components
  • Type checking, linting, and code formatting tools
  • Storybook for a frontend workshop environment

Repo structure

.
├── template           # The template (the things that get installed/updated)
│   ├── .github        # GitHub workflows
│   ├── docs           # Project docs and decision records
│   └── {{app_name}}   # Application code
├── template-only-bin  # Template repo scripts
└── template-only-docs # Template repo docs

Installation

To get started using the template application on your project:

  1. Install the nava-platform tool.
  2. Install template by running in your project's root:
    nava-platform app install --template-uri https://github.com/navapbc/template-application-nextjs . <APP_NAME>
  3. Follow the steps in /<APP_NAME>/README.md to set up the application locally.
  4. Optional, if using the Platform infra template: Follow the steps in the template-infra README to set up the various pieces of your infrastructure.

Learn more

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Community

About

Next.js, TypeScript, USWDS, and Storybook template, including CI/CD, for teams at Nava building web applications

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 24