IFRC GO is the platform of the International Federation of Red Cross and Red Crescent, aimed at connecting crucial information on emergency needs with the appropriate response. This repository houses the frontend source code for the application, developed using React, Vite, and associated technologies.
Below are the steps to guide you through preparing your local environment for IFRC GO Web application development. The repository is set up as a monorepo. The app directory houses the application code, while the packages directory contains related packages, including the IFRC GO UI components library.
To begin, ensure you have network access. Then, you'll need the following:
- Git
- Node.js as specified under
engines
section inpackage.json
file - pnpm as specified under
engines
section inpackage.json
file - Alternatively, you can use Docker to build the application.
Note
Make sure the correct versions of pnpm and Node.js are installed. They are specified under engines
section in package.json
file.
-
Clone the repository using HTTPS, SSH, or GitHub CLI:
git clone https://github.com/IFRCGo/go-web-app.git # HTTPS git clone git@github.com:IFRCGo/go-web-app.git # SSH gh repo clone IFRCGo/go-web-app # GitHub CLI
-
Install the dependencies:
pnpm install
-
Create a
.env
file in theapp
directory and add variables from env.ts. Any variables marked with.optional()
are not mandatory for setup and can be skipped.cd app touch .env
Example
.env
fileAPP_TITLE=IFRC GO APP_ENVIRONMENT=testing ...
-
Start the development server:
pnpm start:app
- Check out existing Issues and Pull Requests to contribute.
- To request a feature or report a bug, create a GitHub Issue.
- Contribution Guide →
- Collaboration Guide →
The repository hosts multiple packages under the packages
directory.
- IFRC GO UI is a React UI components library tailored to meet the specific requirements of the IFRC GO community and its associated projects.
- IFRC GO UI Storybook serves as the comprehensive showcase for the IFRC GO UI components library. It is hosted on Chromatic.
The backend that serves the frontend application is maintained in a separate repository.
Go Frontend is the previous version of the project which contains the original codebase and project history.
- Visit the IFRC GO Wiki for documentation of the IFRC GO platform.
- Stay informed about the latest project updates on Medium.