This page details the frontend development setup.
Our Docker images innately supports hot-reloading on code changes and is the preferred setup for frontend development. Follow the quickstart guide on the root readme for setup instructions.
Alternatively, follow the steps below to set up a local Node.js server for development. Technically, the frontend does not need any other service to start, but a lot of pages and components will require data from the backend APIs to function normally.
- Install Node.js
- Install node modules
cd src/frontend/ && npm install
. See documentation on Node packages. - Start node server
npm start
A style guide is accessible at /StylesPage
, in StylesPage.js.