IFRCGo/go-web-app
Acerca de
GO Web application! GO is a Red Cross Red Crescent platform to connect information on emergency needs with the right response.
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalIFRC GO
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.
Built With
Getting Started
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.
Prerequisites
To begin, ensure you have network access. Then, you'll need the following:
- Git
- Node.js as specified under
enginessection inpackage.jsonfile - pnpm as specified under
enginessection inpackage.jsonfile - 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 underenginessection inpackage.jsonfile.
Local Development
Clone the repository using HTTPS, SSH, or GitHub CLI:
git clone https://github.com/IFRCGo/go-web-app.git # HTTPS git clone [email protected]:IFRCGo/go-web-app.git # SSH gh repo clone IFRCGo/go-web-app # GitHub CLIInitialize submodules
git submodule update --init --recursive --remoteInstall the dependencies:
pnpm installCreate a
.envfile in theappdirectory and add variables from env.ts. Any variables marked with.optional()are not mandatory for setup and can be skipped.cd app touch .envExample
.envfileAPP_TITLE=IFRC GO APP_ENVIRONMENT=testing ...Start the development server:
pnpm start
Malawi Risk Watch (optional)
The Malawi sources on the country risk watch page use the Malawi Risk Watch backend. They stay hidden unless APP_MALAWI_RISK_WATCH_DOMAIN is set. To work on them:
- Initialize the
malawi-risk-watch-backendsubmodule. Itsschema.graphqldrives the GraphQL type generation inpnpm generate:type. Without it a stub is used and the Malawi code fails typecheck. - Set
APP_MALAWI_RISK_WATCH_DOMAINto the backend host, without a trailing slash. The backend does not send CORS headers, so the dev server proxies its GraphQL API automatically.
See the feature notes for how the sources are put together.
Contributing
- 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 →
Additional Packages
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.
IFRC GO Backend
The backend that serves the frontend application is maintained in a separate repository.
Previous Repository
Go Frontend is the previous version of the project which contains the original codebase and project history.
Community & Support
- Visit the IFRC GO Wiki for documentation of the IFRC GO platform.
- Stay informed about the latest project updates on Medium.
License
Explorar proyectos relacionados
Cargando…