This repo has been depreciated and rebuilt in the new Denki Carbon repo
This is the website built to show off and demonstrate the Japan Grid Carbon API.
Its built mostly using React
in Typescript
but also uses Recharts
& i18next
- Create an Issue to Explain your Problem, Feature
- Fork the Project
- Clone Locally
yarn
- Add a
.env
file to your project root with:- REACT_APP_API_URL=
https://us-central1-japan-grid-carbon-api<ENVIRONMENT>.cloudfunctions.net/api/v0.1
- Environment is nothing for Production,
-staging
for Staging
- Environment is nothing for Production,
- REACT_APP_API_URL=
- Make and commit your changes
- Open a PR to the master branch of this repo with a detailed explanation of your work (inc. screenshots)
- Guidelines in CONTRIBUTING.md
- ✨ Design preference is to make the Japanese translation look good before the English version.
- 🧼 Staging - staging.denkicarbon.jp - Branch:
master
- 💪 Production - denkicarbon.jp - Branch:
production
- (every PR will create a Preview Deployment, which will have a unique URL and use the staging API)