A data product API for project financing using DuckDB, FastAPI, and Prometheus monitoring.
- Features
- Local Development
- Koyeb Deployment
- Monitoring
- Project Structure
- Contributing
- License
- Contact
- Citations
- FastAPI-based REST API
- DuckDB for data storage
- Prometheus metrics collection
- Project financing data model
- Environment-based configuration
-
Set up the environment: Ensure you have Docker installed and running on your machine.
-
Build the Docker image:
docker build -t your-image-name .
-
Run the Docker container:
docker run -p 8000:8000 your-image-name
-
Access the application: Open your browser and go to
http://localhost:8000
.
Instructions to deploy the application on Koyeb.
This project is using koyeb-git-action to deploy the application.
Details on how to monitor the application using Prometheus.
Overview of the project's directory structure and files.
Guidelines for contributing to the project.
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
Your Name - jeanbapt
Project Link: https://github.com/jeanbapt/duckdb-spawn
This project utilizes the following technologies:
- FastAPI: A modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
- DuckDB: An in-process SQL OLAP database management system.
- Prometheus: An open-source systems monitoring and alerting toolkit.
- Koyeb: A platform for deploying and running applications in the cloud.
- Pulumi: A modern infrastructure as code platform that allows you to define cloud resources using programming languages.