This project was bootstrapped with Create React App.
This project runs with Node 20 and has been tested on Node v20.11.1. If you use nvm
, run nvm install
and nvm use
to use the correct node version.
- Clone the project
- Install all dependencies (suggested command: yarn)
- Add the Bearer Token in the .env by replacing "{PUT AUTH TOKEN HERE}" with the actual value
- Run the start script (suggested command: yarn start)
- The application should now be accessible on localhost:1234
Don't hesitate to get in touch if you're unable to get the app up and running.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:1234 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Projects |
---|
Larimar Wind |
Alligator River |
Hudson Farm |
Vichada |
Alto Mayo |
Madre de Dios |
Load More |
Projects are paginated using cursor-based pagination. This means that, to get all objects, you must paginate through the results by providing the last project id as a after
query parameter.
Each result includes a has_more boolean field. If this is true, then the next page requested will return additional results.
By default, each page returns 10 objects, however, by setting limit
you can request up to 100 objects.
Example: https://api.lune.co/v1/projects?after=ljmkOq7vXd239gAEmALWQ8ZGVD5ExNzr&limit=5
{
"has_more": false,
"data": [
{
"id": "ljmkOq7vXd239gAEmALWQ8ZGVD5ExNzr",
"name": "Larimar Wind",
"short_name": "Larimar Wind",
"description": "The Larimar Wind Farm project involves the construction and operation of two wind farms located in the Enriquillo Region in the Dominican Republic, facing the Caribbean Sea to the south. The first farm, Larimar I, has 15 wind turbine generators with an installed capacity of 49.5 MW and the second farm, Larimar II, has 14 wind turbines generators with an installed capacity of 48.3 MW. The total installed capacity of the wind farm is 97.8 MW. The Larimar farms will provide electricity in the region and avoid part of the electricity generated by the grid-connected power plants",
"slug": "larimar-wind",
"project_type": "Wind Farm",
"registry_name": "Verified Carbon Standard",
"registry_link": "https://registry.verra.org/app/projectDetail/VCS/1644",
"latitude": 17.912644,
"longitude": -71.240762,
"country_name": "Dominican Republic",
"country_code": "DOM",
"primary_image": "https://assets.lune.co/projects/Larimar+1.png",
"thumbnail_image": "https://assets.lune.co/projects/Larimar+1_thumbnail.png",
"results": [
"The average annual emission reductions of the project is approx. 207,566 tonnes CO2e.\r",
"Co-benefits include: employment opportunities local professionals, reduced air pollution"
],
"un_sdg": [
8,
9,
15
],
"disabled": false,
"bundles": [
{
"id": "ljmkOq7vXd239gAEmALWQ8ZGVD5ExNzr",
"name": "Global Renewables",
"unit_price": "2.65",
"currency": "GBP",
"primary_image": "https://lune-assets.s3-eu-west-1.amazonaws.com/projects/Larimar+1.png",
"description": "Renewable energy projects, eg. in Central America or India, help the regions shift away from fossil fuels, avoiding carbon emissions as well as creating job opportunities in local communities.",
"disabled": false
}
]
}
]
}
Projects carousel design
Password: lune-eng-2024