{"repo":"vlad99764/fastapi-python-intern","free":true,"listed":false,"github":"https://github.com/vlad99764/fastapi-python-intern","clone":"git clone https://github.com/vlad99764/fastapi-python-intern.git","description":null,"language":"Python","stars":17,"topics":["api","backend","celery","fastapi","postgresql","rabittmq"],"license":"MIT","category":"databases-storage","readme_excerpt":"FastAPI - PostgreSQL - Celery - Rabbitmq backend This source code implements the following architecture: All the required database endpoints are implemented and tested. These include crud operations for dog and user PostgreSQL relations. The asynchronous tasks are queued via one endpoint, and the upload of files to guane internal test server (external API) is implemented as another endpoint. This app also executes HTTP requests to another external endpoint located at which returns a message with an URL to a random dog picture. The URL is stored as the field picture in the dog relation. Deploy using Docker To deploy this project using docker make sure you have cloned this repository and installed Docker. Now move to the project root directory Unless otherwise stated, all the commands should be executed from the project root directory denoted as / . To run the docker images just prepare your environment variables in the /.env file and run If you have an older Docker version which does not support the $ docker compose command, make sure you install the docker-compose CLI, then run The docker-compose.yml is configured to create an image of the application named application/backend , an image of PostgreSQL v13.3 –named postgres –, an image of RabbitMQ v3.8 – rabbitmq – and an image of Redis v6.2 – reddis . To see the application working sound and safe, visit the URI 0.0.0.0:8080/docs or the equivalent URI you defined in the /.env file (use the format ${BACKEND HOST}:${BACKEND PORT","default_branch":null,"files":null,"tree":[],"storefront":"/r/vlad99764","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vlad99764/fastapi-python-intern/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}