Prerequisites

Docker or:

  1. The package manager yarn
  2. A local copy of the repository forms-frontend
  3. A local copy of the backend repository forms-backend

Environment Variables

<aside> 💡 Create a .env file in the root with the following values inside it (each variable should be a line like VARIABLE=value):

</aside>

The following variables are required:

If you are using docker-compose, include env variables from the backend.

Running the frontend

With Docker

  1. Create an empty folder in the project directory called node_modules.
  2. Run docker-compose up.

Without Docker

  1. Install project dependencies using yarn install --dev.
  2. Start the app in development mode using yarn start.