🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)

🔧 Programmierung 🕛 kürzlich 3 Min Lesezeit
0

I Built 4 FastAPI Projects in 2 Weeks — Here's What I Wish I Knew Before Starting

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

I just spent two weeks building 4 FastAPI backends back to back. REST API, web scraper + dashboard, React admin panel, AI workbench with CrewAI. 134 Python files. 38 tests. And 15 CI failures before a single green run.



Here's the messy part nobody talks about.









Docker Compose is a time sink



Every project. Same 5 containers. api, postgres, redis, celery, nginx. By project #3 I was copy-pasting docker-compose.yml and changing 3 variables. That's not engineering — that's clerical work.



I now keep a _templates/ folder. Copy the Docker skeleton, rename the project name, done in 30 seconds. If you're starting a new FastAPI project right now and don't have this, you're burning 3 hours on boilerplate.









migrations: users → roles → tokens. every. time.



I wrote this Alembic migration four times. Four. User table, role table, user_roles join, JWT token model. This isn't business logic. It's plumbing. Every backend needs it.



Now I have a base migration that creates all three in one alembic upgrade head. 30 seconds to working auth.









Celery is fine until you put it in Docker



Local dev: everything works. Docker: celery worker can't find the broker.



Turns out localhost:6379 works on your machine but inside Docker the Redis hostname is literally redis. Three projects in I learned two configs that prevent most Celery headaches:



worker_prefetch_multiplier=1 — one task per worker at a time, no worker starvation

task_acks_late=True — task stays in queue until it actually finishes, no data loss on crash



That's it. Two lines. Took me weeks to figure out.









CI failures are mostly not your fault



15 failures. Let me break them down:





  • pip install crashed because I forgot requirements.txt — twice

  • Syntax errors from an LLM merging two lines into gibberish — 4 times

  • Import errors from hallucinated PyPI versions — 3 times

  • Redis not running in CI — 3 times

  • Actual code bugs — 3 times



So 12 out of 15 had nothing to do with business logic. The CI was catching infrastructure problems. Green CI doesn't mean good code. Red CI doesn't mean bad code. It means you forgot to commit requirements.txt.









The real enemy is repetition



Across 4 projects I wrote Docker Compose once, CI once, Celery config once. But I wrote custom exception classes four times. Logging setup four times. Environment variable loading four times.



After project #2 I realized: every file I create should be a template for the next project. Not a workflow tip — survival.






Anyway, the template I ended up with is on GitHub. Docker Compose, Postgres, Redis, Celery, JWT auth, CI pipeline that actually passes (after 15 tries), and 38 tests. Fork it if you want. Saves you the 3 hours I blew on Docker setup.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Hackers Just Poisoned the Rust Supply Chain | Threat Wire
1 Quelle
Hackers Found a Way Into Humanoid Robots | Threat Wire
1 Quelle
Bits und so #1021 (Passwort für Laufwerk)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I Built 4 FastAPI Projects in 2 Weeks — Here's What I Wish I Knew Before Starting

Thematisch verwandte Begriffe: Built, FastAPI, Projects, Weeks · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...