Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

flatten-official/flatten-volunteer

Repository files navigation

The Volunteer Form Website

⚠️ This project has moved to our monorepo here. This repository is no longer maintained. ⚠️

Prerequisites

  • Node

Setup

To run this repository you need to run both the frontend (this repository) and the backend.

  1. Get the backend running locally.

  2. Run npm install

  3. Copy the content of ./src/api/backend.dev.js to a new file called ./src/api/backend.js

  4. To be able to Login ask Martin or Arthur to add you to the volunteer staging database.

  5. Enable ESLint in your code editor (normally through the ESLint Plugin)

Running locally

  1. Run npm run start

Modifying forms

  1. Remember to increment the form's version number before altering the form on master.

    • Currently, the initial survey's version number is set in config.js
  2. Summarize the changes in the relevant changelog.

    • Optionally, include the commit which merged the changes to master to help fix issues such as the version number not being incremented