An open API service indexing awesome lists of open source software.

https://github.com/navapbc/template-application-rails

Ruby on Rails with USWDS template, including CI/CD, for teams building web applications
https://github.com/navapbc/template-application-rails

Last synced: 2 months ago
JSON representation

Ruby on Rails with USWDS template, including CI/CD, for teams building web applications

Awesome Lists containing this project

README

          


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.



Nava Strata is released under the Apache 2.0 license


PRs welcome!


git commit activity


GitHub Downloads (all assets, all releases)

# Template Ruby on Rails application

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

See [`navapbc/platform`](https://github.com/navapbc/strata) for other template repos.

## Features

- [U.S. Web Design System (USWDS)](https://designsystem.digital.gov/) 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](https://github.com/heartcombo/devise) and AWS Cognito
- Internationalization (i18n)
- Authorization using [pundit](https://github.com/varvet/pundit)
- Linting and code formatting using [rubocop](https://rubocop.org/)
- Testing using [rspec](https://rspec.info)

CleanShot 2024-05-22 at 16 35 53@2x

## Repo structure

```text
.
├── 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 ``:

1. [Install the nava-platform tool](https://github.com/navapbc/platform-cli).
2. Install template by running in your project's root:
```sh
nava-platform app install --template-uri https://github.com/navapbc/template-application-rails .
```
3. Follow the steps in `/README.md` to set up the application locally.
4. Optional, if using the Platform infrastructure template: [Follow the steps in the `template-infra` README](https://github.com/navapbc/template-infra#installation) 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](https://github.com/navapbc/platform-cli).
2. Update app template by running in your project's root:
```sh
nava-platform app update .
```
## License

This project is licensed under the Apache 2.0 License. See the [LICENSE](LICENSE) file for details.

## Community

- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Contributing Guidelines](CONTRIBUTING.md)
- [Security Policy](SECURITY.md)