Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fossilfuelregistry/portal-v2
https://github.com/fossilfuelregistry/portal-v2
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fossilfuelregistry/portal-v2
- Owner: fossilfuelregistry
- License: mit
- Created: 2022-07-27T08:49:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-20T17:13:43.000Z (almost 2 years ago)
- Last Synced: 2024-06-11T20:08:58.635Z (5 months ago)
- Language: TypeScript
- Size: 1.3 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- open-sustainable-technology - The Global Registry of Fossil Fuels - Open Source database of oil, gas and coal production and reserves globally, expressed in CO2-equivalent. (Emissions / Emission Observation and Modeling)
README
[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](
https://cloud.digitalocean.com/apps/new?repo=https://github.com/fossilfuelregistry/portal-v2/tree/master
)# fossilfuelregistry.org web client
## Stack
The client is based on the NextJS framework.
It is based on:
- Chakra UI for UI components
- Apollo GraphQL for data fetching
- The POEditor translation service for i18n texts
- AirBnB VisX for chart graphics
- MaplibreGL with a private vector tile server for maps## Building
The build process is 100% standard NextJS. It needs a `.env.local` file for various keys:
```
POEDITOR_API_TOKEN=...
POEDITOR_PROJECT_ID=...NEXT_PUBLIC_BACKEND_URL=https://api.fossilfuelregistry.org
NEXT_PUBLIC_GA=... (Google Analytics Property id)
NEXT_PUBLIC_GOOGLE_TRANSLATE_API_KEY=...
NEXT_PUBLIC_OPENCORPORATES_API_TOKEN=...NEXT_PUBLIC_CMS_URL=https://cms.fossilfuelregistry.org
NEXT_PUBLIC_CMS_TOKEN=...NEXT_PUBLIC_SENTRY_DSN=...
NEXT_PUBLIC_ENVIRONMENT= local | development | production
```