{"id":28956802,"url":"https://github.com/developmentseed/eoapi-template","last_synced_at":"2025-06-23T21:40:55.373Z","repository":{"id":178856613,"uuid":"660536487","full_name":"developmentseed/eoapi-template","owner":"developmentseed","description":"Template repository to deploy eoapi application using eoapi-cdk constructs on AWS.","archived":false,"fork":false,"pushed_at":"2025-06-02T21:02:30.000Z","size":61,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-03T11:10:51.332Z","etag":null,"topics":["eoapi"],"latest_commit_sha":null,"homepage":"https://eoapi.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developmentseed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-30T08:22:56.000Z","updated_at":"2025-05-20T20:48:26.000Z","dependencies_parsed_at":"2023-11-20T22:22:46.713Z","dependency_job_id":"c89627ae-16a8-432c-bbfe-8fc950c79adf","html_url":"https://github.com/developmentseed/eoapi-template","commit_stats":null,"previous_names":["developmentseed/cdk-eoapi"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/developmentseed/eoapi-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Feoapi-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Feoapi-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Feoapi-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Feoapi-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developmentseed","download_url":"https://codeload.github.com/developmentseed/eoapi-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Feoapi-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261561180,"owners_count":23177543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eoapi"],"created_at":"2025-06-23T21:40:54.929Z","updated_at":"2025-06-23T21:40:55.350Z","avatar_url":"https://github.com/developmentseed.png","language":"Python","readme":"# eoapi-template\n\nTemplate repository to deploy [eoapi](https://eoapi.dev) on AWS using the [eoapi-cdk constructs](https://github.com/developmentseed/eoapi-cdk) or locally with Docker.\n\n## Requirements\n\n- python \u003e=3.9\n- docker\n- node \u003e=14\n- AWS credentials environment variables configured to point to an account.\n- **Optional** a `config.yaml` file to override the default deployment settings defined in `config.py`.\n\n## Installation\n\nInstall python dependencies with\n\n```\npython -m venv .venv\nsource .venv/bin/activate\npython -m pip install -r requirements.txt\n```\n\nAnd node dependencies with\n\n```\nnpm install\n```\n\nVerify that the `cdk` CLI is available. Since `aws-cdk` is installed as a local dependency, you can use the `npx` node package runner tool, that comes with `npm`.\n\n```\nnpx cdk --version\n```\n## Deployment\n\nFirst, synthesize the app\n\n```\nnpx cdk synth --all\n```\n\nThen, deploy\n\n```\nnpx cdk deploy --all --require-approval never\n```\n\n## Docker\n\nBefore deploying the application on the cloud, you can start by exploring it with a local *Docker* deployment\n\n```\ndocker compose up\n```\n\nOnce the applications are *up*, you'll need to add STAC **Collections** and **Items** to the PgSTAC database. If you don't have, you can use the follow the [MAXAR open data demo](https://github.com/vincentsarago/MAXAR_opendata_to_pgstac) (or get inspired by the other [demos](https://github.com/developmentseed/eoAPI/tree/main/demo)).\n\nThen you can start exploring your dataset with:\n\n  - the STAC Metadata service [http://localhost:8081](http://localhost:8081)\n  - the Raster service [http://localhost:8082](http://localhost:8082)\n  - the browser UI [http://localhost:8085](http://localhost:8085)\n\nIf you've added a vector dataset to the `public` schema in the Postgres database, they will be available through the **Vector** service at [http://localhost:8083](http://localhost:8083).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Feoapi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopmentseed%2Feoapi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Feoapi-template/lists"}