There are four environments for VA.gov:

Environment

Site URL

API URL

Build Type

NODE_ENV

Deployments

localhost

http://localhost:3001

http://localhost:3000

localhost

development

https://dev.va.gov

https://dev-api.va.gov

vagovdev

After a merge to main

staging

https://staging.va.gov

https://staging-api.va.gov

vagovstaging

production

After a merge to main

production

https://www.va.gov

https://api.va.gov

vagovprod

production

Daily, Monday - Friday

The localhost environment runs locally on a developer's machine, while development, staging, and production are shared environments that are publicly accessible.

Production and staging APIs are connected with services within the VA to facilitate testing. The development API largely uses mock data in lieu of connecting to internal VA services.

Deployment

  • The development and staging environments are deployed automatically after pull requests are merged into main.

  • Review instances are deployed automatically when pull requests are created. Review instances are custom environments based on the development environment.

Access and test users

See Accessing Staging for:

  • HTTP basic auth passwords needed to access development and staging environments

  • Test users that can be used to verify features in localhost, development, and staging environments