Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 2.33 KB

README.md

File metadata and controls

56 lines (43 loc) · 2.33 KB

Template Ruby on Rails application

This is a template repository for a Ruby on Rails application.

See navapbc/platform for other template repos.

Features

  • U.S. Web Design System (USWDS) for themeable styling and a set of common components
    • Custom USWDS form builder
  • Integration with AWS services, including:
    • Database integration with AWS RDS Postgresql using UUIDs
    • Active Storage configuration with AWS S3
    • Action Mailer configuration with AWS SES
    • Authentication with devise and AWS Cognito
  • Internationalization (i18n)
  • Authorization using pundit
  • Linting and code formatting using rubocop
  • Testing using rspec
CleanShot 2024-05-22 at 16 35 53@2x

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-docs # Template repo docs

Installation

To get started using the template application on your project, for an application to be called <APP_NAME>:

  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-rails . <APP_NAME>
  3. Follow the steps in <APP_NAME>/README.md to set up the application locally.
  4. Optional, if using the Platform infrastructure template: Follow the steps in the template-infra README to set up the various pieces of your infrastructure.

Updates

If you have previously installed this template and would like to update your project to use a newer version of this template:

  1. Install the nava-platform tool.
  2. Update app template by running in your project's root:
    nava-platform app update . <APP_NAME>