Getting started with stac-fastapi #641
Unanswered
jacobtodd91
asked this question in
Q&A
Replies: 1 comment
-
We have an example here if you are wanting to use Docker. There is also a postman collection that shows some route examples. This is for Let me know if this is confusing. One thing I guess is that there's no real point to run this repo on its own. You normally want to run this code via a backend like stac-fastapi-elasticsearch-opensearch or stac-fastapi-pgstac. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am brandnew at a working with STAC and have came across this repository which seems to include all the needed functionality for a project I am working on. My issue is that I am honestly not sure how to get started. I am familiar with FastAPI, PostgreSQL, and how to connect and interact with the database with both psycopg and sqlalchemy, but just cannot figure out how to get stac-fastapi up and running. Could someone provide a working main.py script that includes the connection to the database and at least one endpoint for requesting data as well as one for inserting the data? This would be extremely appreciated.
Beta Was this translation helpful? Give feedback.
All reactions