RESTful APIs of the RAMPVIS system. This repository consist of the following top-level folders.
-
data-api
- Implemented in Python, FastAPI, and other Python libraries.
- APIs for all data.
- API implements processing functions, e.g., analytical algorithms, propagation, scheduler agents, etc.
-
infrastructure-api
- Implemented in Typescript, Node.js, Express.js, and other JavaScript libraries.
- APIs for ontology and database operations; authentication and user management; other infrastructure related services.
- Thumbnail and search index services.
Sequence of starting the services:
- External services
- Internal Services
The infrastructure APIs are dependent on following external services:
- MongoDB
- Elasticsearch.
Start the services:
docker-compose up -d
Run the command to check the containers (e.g., es*, kib*, and mongod*) are started:
docker-compose ps
Known Issues and Solutions
- The elasticsearch containers require more than 2GB VM. To setup the VM size run:
# Windows-11
wsl -d docker-desktop
echo 262144 >> /proc/sys/vm/max_map_count
The data-api and infrastructure-api are our internal services. See the data-api README and infrastructure-api README files.