An open API service indexing awesome lists of open source software.

https://github.com/arv-anshul/freeapi-py

A knack to create freeapi.app project in Python using FastAPI and MongoDB.
https://github.com/arv-anshul/freeapi-py

api docker fastapi freeapi mongodb python

Last synced: 2 months ago
JSON representation

A knack to create freeapi.app project in Python using FastAPI and MongoDB.

Awesome Lists containing this project

README

          

# freeapi-py


Docker Badge
FastAPI Badge
MongoDB Badge
Python Badge
Rye Badge
UV Badge

A knack to create similar APIs present in [freeapi.app] project using Python, FastAPI and MongoDB.
I've used Docker so that anyone can easily reproduce this project in their system.

## Setup Docker Container

Clone the repo.

```bash
git clone https://github.com/arv-anshul/freeapi-py
```

Use `docker compose` to build and run the container.

I've used [`uv`][uv] to install packages in the docker container this reduces the build time significantly.

```bash
docker compose up --build # For the first time
```

## Roadmap

- [x] Use [`rye`][rye] for local package management tool.
- [x] Create Todo APIs.
- [x] Containerise the FastAPI app with Docker.
- [x] Use [`uv`][uv] in container for package installation.
- [x] Add `/quote` routes.

[freeapi.app]: https://freeapi.app
[rye]: https://rye-up.com
[uv]: https://astral.sh/uv