Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EO-DataHub/eodh-ac-api

 
 

Repository files navigation

eodh-ac-api

API for interacting with Action Creator component and scheduling spatial computation in EO Data Hub.

Getting started

Create the environment:

make env

Run pre-commit hooks:

make pc

Guides

Running the API

This section provides step-by-step instructions on how to run a FastAPI application locally.

Prerequisites

Before running the FastAPI application, ensure that you have the environment configured.

Run the Application

You can now run the FastAPI application using Uvicorn, which is an ASGI server for Python apps:

uvicorn app:app --reload
  • app:app: Refers to the app instance in the main.py file.
  • --reload: Enables auto-reload, so the server will restart when you make changes to the code.

Access the Application

Once the application is running, you can access it in your web browser at:

http://127.0.0.1:8000

Explore the API Documentation

FastAPI automatically generates interactive API documentation. You can explore it by navigating to the following URLs:

Additional Commands

  • Stopping the Server: You can stop the server by pressing CTRL+C in the terminal where the server is running.

Other guides

You can read more here:

Docs

To build project documentation run:

make docs

and then:

mkdocs serve

About

API for interacting with Action Creator component and scheduling spatial computation in EO Data Hub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages