jearistiz / guane-intern-fastapi Goto Github PK
View Code? Open in Web Editor NEWFastAPI-PostgreSQL-Celery-RabbitMQ-Redis bakcend with Docker containerization
License: MIT License
FastAPI-PostgreSQL-Celery-RabbitMQ-Redis bakcend with Docker containerization
License: MIT License
Create CRUDs:
Implement endpoints tests
Consider:
asyncpg
tortois
SqlAlchemy
asynchronous I/O features: this one might be the less invasive option. Since the app is already using SqlAlchemy
, the support for ORM when using asyncio-compatible dialects would prevent a lot of refactoring.Create docker containers:
Include
Using PostgreSQL and SQLAlchemy:
Include:
Upload a file to the endpoint POST at https://gttb.guane.dev/api/files
via our POST endpoint at /api/upload-predefined-file-to-guane
.
dogs
endpointsusers
endpointsInclude:
Vulnerability reported and fixed. More info here.
git clone https://github.com/jearistiz/guane-intern-fastapi
cd guane-intern-fastapi
docker-compose up --build
Docker compose starts building all service images from docker-compose.yml
$ docker-compose up -d
ERROR: Service 'backend_app' depends on service 'celery' which is undefined.
So there is something I am missing or there is no celery service in docker-compose.yml
which is required on backend-app
service to work.
See depends-on
:
version: "3.5"
services:
backend_app:
build:
context: .
dockerfile: Dockerfile
container_name: backend_app
stop_signal: SIGINT
env_file: .env
image: app/backend
depends_on:
- postgres
- celery
. . .
With information about all the services. The architecture is complete. Celery tests missing.
Also consider moving the celery_app module from core/
to worker/
. I think this makes much more sense because it is a completely separate component.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.