This is a simple async Fast Api application that uses Nasa Api. This projects aims to discover Fast Api and it is features.
- Clone the repo.
- Make sure you have poetry installed.
- Set this environment variable
ENV_FOR_DYNACONF="production"
to make real requests to nasa api. - Run:
$ poetry install $ uvicorn main:app
- Go to localhost:8000/apod
This project uses pytest.
$ pytest