mrkeyoor.comAsk

fastapi/full-stack-fastapi-templatetested 25 Oct 2026commit b1125d8

full-stack-fastapi-template review

Use Full Stack FastAPI Template if FastAPI, React and PostgreSQL match your application and your team can maintain their configuration.

  • Safety failed
  • Tests failed
22 sto install
  • 760 packages
Webevaluationupdated 23 Nov 2026
+51stars / 7d

Full Stack FastAPI Template is an MIT-licensed starting repository for an application with a Python API, React interface and PostgreSQL database. Its README lists login, password recovery, testing and deployment configuration. You create your own repository from the template, then maintain its application code and configuration.

Verdict

Use Full Stack FastAPI Template if FastAPI, React and PostgreSQL match your application and your team can maintain their configuration. Our October run installed dependencies in 22 seconds but failed authentication setup; November's Compose safety check stopped at a Docker socket mount. Choose another starting point if you require included billing and tenant management, or your hosting rules prohibit that mount.

Infographic on how full-stack-fastapi-template works, its uses, our test result, common pitfalls and who should use it
Tested 25 October 2026: the source install took 22 s.

We ran it

Lab card: what happened when we ran full-stack-fastapi-template
Lab card from our sandbox run
Screenshot of full-stack-fastapi-template (github.com/fastapi/full-stack-fastapi-template)
github.com/fastapi/full-stack-fastapi-template
Install✓ · 22s760 packages · 1118 MB
Buildn/ano build script
Tests✗ · 12sran, no count parsed
Repo248 files~14,338 lines of source · 1.9 MB · 15 CI workflows

Answers from our run

Does full-stack-fastapi-template build from source?

Dependencies installed in 22 seconds (760 packages), and the project has no separate build step. We cloned commit b1125d8 into a clean Debian container with 3 CPUs and no project-specific setup.

Do full-stack-fastapi-template's tests pass?

No. The project's own test command exited unsuccessfully after 12 seconds, and its output did not expose an individual test count.

Who should not use full-stack-fastapi-template?

Founders requiring included billing, subscriptions and tenant management: TopBoilerplates identifies those as additions you must build.

What are the alternatives to full-stack-fastapi-template?

Full Stack FastAPI Template Next.js, Minimal FastAPI PostgreSQL template. Use Full Stack FastAPI Template if FastAPI, React and PostgreSQL match your application and your team can maintain their configuration.

Setup3/5Our source checkout installed in 22 s, a heavy install of 760 dependencies, and we did not run a README task.Editor’s note: Dependency installation succeeded, but authentication setup failed and the separate Compose safety check stopped at a Docker socket mount.
Docs3/5The README has an install section (“Deployment”) and a usage section (“Interactive API Documentation”), but the usage section is thin: no code and under 400 characters.Editor’s note: The readable development, frontend and deployment guides describe concrete procedures; our runs did not complete those application procedures.
Community5/5Last push on 2026-11-16, 46,321 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Named user accounts and historical issues show use and customization, but do not measure support responsiveness or operating deployment counts.
Maturity3/5Latest release 0.12.0 on 2026-08-12 (pre-1.0), repository created 2019-02-23 and its test suite did not pass in our sandbox.Editor’s note: Dated repository activity shows continued work, while production reliability, migration recovery and current authentication internals were not assessed.

How we score

Who it’s for

Developers choosing FastAPI, React and PostgreSQL for a new application.
Small teams building internal tools that can maintain the included login, database and deployment code.
Developers comfortable changing models, regenerating the frontend client and configuring supporting services.

Who it’s NOT for

Founders requiring included billing, subscriptions and tenant management: TopBoilerplates identifies those as additions you must build.
Teams requiring Next.js server rendering and HttpOnly cookie authentication as their starting architecture: Mitic describes a separate fork built for those requirements.
Operators whose hosting rules forbid the proxy's Docker socket mount: that configuration failed our November lab safety check.

Setup reality

Our October 25, 2026 run at b1125d8 installed the Bun workspace dependencies in 22 seconds: 760 dependencies and 1118 MB on disk. The harness skipped the build because it found no build script or target. Tests exited 1 after 12 seconds: the authenticate setup failed, and 61 tests did not run. Our November 23 Compose attempt separately failed the lab safety rule because the proxy mounts the Docker socket; teardown was ok.

The development guide runs PostgreSQL and Mailpit with Docker Compose, then FastAPI through uv and the React development server through Bun. Deployment adds your domain, database password, signing key and initial administrator credentials. Sending recovery email through an authenticated provider also requires SMTP configuration.

The October sandbox configuration was 3 CPUs, 8 GB RAM and image label lab-node:22. The visible test tail names tests/auth.setup.ts but omits the underlying error.

Our full-stack-fastapi-template review starts with a 22-second dependency installation followed by failed authentication setup and 61 tests that did not run. Use this template if you want FastAPI, React and PostgreSQL together and can maintain their configuration. Skip it if you need billing and tenant management included: TopBoilerplates identifies those as additions you would build. That distinction separates an application foundation from a finished subscription product.

What people use full-stack-fastapi-template for

Developers report personal projects, VPS hosting and substantial forks, with different amounts of customization after creating their repositories. These accounts give concrete examples of how people use the starting code. They also show which choices users changed: application boundaries, frontend frameworks, error handling and authentication. The reports describe individual projects rather than a single standard route from template to finished application.

Person What they actually did What you can learn from it
ZorroGuardaPavos on r/FastAPI Used it for personal projects and liked the starting point. They preferred Django-style application boundaries and sometimes mixed SQLModel with SQLAlchemy. ZorroGuardaPavos describes those preferences.
GDemay on r/FastAPI Hosted it on a basic VPS using the deployment documentation. A rented server is a reported deployment route. GDemay names the VPS and documentation.
bluewalt on r/FastAPI Used it to build a customized template. Their additions included Nuxt, richer API errors and operational commands. bluewalt lists the additions.
Nemanja Mitic Rebuilt the frontend with Next.js and changed authentication for server rendering. His fork introduced HttpOnly cookie authentication. Mitic explains the SSR change.

Kulimantang reported replacing Chakra with shadcn in September 2024. The current upstream frontend guide already names Tailwind CSS and shadcn/ui. Giving Back AI's setup video shows another use: an educational project whose presenter opens API documentation, gets a successful health response and opens database administration. The video's health request returns true, while its Chakra references identify an older frontend arrangement.

What happened when we ran it

Our October 25, 2026 run at commit b1125d8 installed dependencies in 22 seconds, then its test command exited 1 after 12 seconds. The harness measurement records 760 dependencies and 1118 MB on disk. The test tail names [setup] › tests/auth.setup.ts:6:1 › authenticate, reports one failed setup test and says 61 tests did not run. Those 61 cases belong in the unrun count, rather than the failed count.

Recorded step or observation Result How to read it
November Compose safety step Failed: proxy mounts the Docker socket Lab policy blocked that configuration.
November cleanup Teardown: ok Cleanup was recorded.
October dependency installation Succeeded in 22 seconds; 760 dependencies; 1118 MB on disk Workspace dependency installation completed.
October build Skipped: no build script or target found by the harness The harness recorded a skipped build.
October tests Exit 1 in 12 seconds; 1 failed; 61 did not run The authenticate setup failed before the remaining browser cases ran.
October sandbox configuration 3 CPUs, 8 GB RAM, image label lab-node:22 These are the recorded sandbox settings.

Our November 23, 2026 Compose attempt failed the safety check because the proxy bind-mount mounts the Docker socket. The safety record names the no-Docker-socket rule. The run used the project's own Compose configuration on the lab server with every port bound to 127.0.0.1, and teardown completed successfully. This stopping point was a host-access policy refusal, rather than an application crash.

The October workspace measurement also recorded 248 files, approximately 14,338 source lines and a 1.9 MB checkout. Its scanner found 15 CI workflow files, Compose configuration and monorepo workspaces, while marking Dockerfile and tests-directory detection false. The test output itself names tests/auth.setup.ts, and the current frontend guide names backend/Dockerfile. Scanner flags therefore describe what that scan detected, rather than an inventory of every nested repository path.

Where people get stuck: routing, migrations and related models

Issue #534 contains a reported routing fix: felixpahlke disabled a Rancher Desktop Kubernetes cluster whose Traefik instance conflicted with local access. The participant said the template then worked. Their account identifies both the competing proxy and the change. A reverse proxy routes incoming web requests, so the account gives a specific explanation for that user's inaccessible services rather than a general Kubernetes instruction.

Symptom and attributed report What the discussion supports Your next check
Inaccessible services in #534, felixpahlke Disabling their competing Rancher Desktop cluster fixed their instance. Identify which proxy owns the route before changing the application.
Migration trouble in #534, unoriginalscreenname They reported deleting an Alembic revision before finishing a downgrade and described further failures after changes. Inspect the revision files and database history before attempting recovery.
Related-model startup crash in #28 Participants reported success after importing related models during startup. Check that both model classes are loaded. Issue #28 also contains later reports with different outcomes.
Missing joined response field in #140 The maintainer advised checking the SQL query independently, then reshaping its result for Pydantic. Inspect returned data before changing the response schema. Issue #140 records that debugging sequence.

Alembic revision files are part of the migration history involved in unoriginalscreenname's report. The participant described deleting the last revision before completing a downgrade, then asked how to reset the database. That historical account supports a warning about removing migration files during recovery. It supplies neither a current upstream migration command nor a recovery sequence to copy into a database containing work you need to retain.

Other reports in #534 concern missing middleware, certificate resolvers and failures after configuration changes. The thread includes a participant saying that rebuilding did not fix the problem. Issue #140 likewise contains a follow-up reporting Pydantic missing-field errors after an attempted approach. These are distinct reports with different stopping points; the routing repair, migration account and response-shaping advice should stay attached to their respective errors.

Current upstream puts the built frontend on the API domain

The README says FastAPI serves the built React frontend on the same domain as the API. That documented production arrangement combines the interface and API behind one application address. React supplies the interface, while Vite supplies frontend tooling. The current frontend guide identifies TypeScript, TanStack Query, TanStack Router, Tailwind CSS and shadcn/ui as parts of that frontend.

Development uses separate processes. The development guide starts PostgreSQL and Mailpit with Compose, then runs FastAPI locally and Vite in another terminal. It lists the Vite frontend at http://localhost:5173 and FastAPI at http://localhost:8000. Its bundled build procedure writes the frontend to backend/app/frontend, which FastAPI serves at the backend address. These are documented development and build instructions, separate from our recorded harness outcomes.

Changing the backend's OpenAPI schema requires regenerating the frontend client. The frontend guide states that maintenance requirement explicitly. OpenAPI is the machine-readable API description used to generate those calls. The guide gives both a root generation script and a manual route using an OpenAPI JSON file, followed by committing the generated changes. Generation is an explicit workflow step after schema changes.

Database saturation appears in historical issue reports

Issue #104 records database connection-pool timeouts and different outcomes from proposed changes. One participant said increasing pool size alone did not help; another reported that session-management changes stopped timeouts in their scenario. The discussion preserves both accounts. A connection pool is a set of reusable database connections, and those reports concern how requests acquired and released them in the implementations under discussion.

Issue #290 adds a useful distinction between architectural advice and a benchmark. Asked whether their recommendation had been benchmarked, sm-Fifteen answered, "I have not run any load-testing benchmarks on it, no." Their explanation concerned avoiding initialization in global scope and using dependency injection. Keep that answer attached to the recommendation: the contributor described the reason for the design advice without presenting a measured throughput result.

Security defaults require deployment configuration

The README lists password hashing, JWT login and email-based password recovery, while the Compose deployment guide requires installation-specific secrets. JWT means JSON Web Token, a signed token used for authentication. The README's authentication feature list describes the included starting flows. The deployment guide then names the database password, token signing key and first superuser password as values the operator must generate and set.

The Compose deployment guide also distinguishes configuration variables from secrets and describes SMTP settings for email delivery. For automated deployment, it says to use a self-hosted runner only when you trust the repository's contributors and workflow code, because workflows execute on that machine. The Docker socket refusal in our November run adds a concrete host-access decision to those deployment requirements.

Maintenance moved beyond the old abandonment threads

GitHub's public API records a last push at 2026-11-16T19:39:13Z, later than the historical discussions asking whether the template was abandoned. The repository metadata supplies that dated activity observation. Issue #541's roadmap also records completed modernization work, including SQLModel, Pydantic v2, React and Docker Compose. The roadmap explains the project's development priorities, alongside work on related FastAPI projects.

Older complaints about broken startup remain accounts of the versions their authors used. November activity answers the narrower question of whether repository work continued after those discussions. It also explains why a Vue-era issue, Chakra tutorial and current bundled React deployment can describe different starting code. When choosing instructions, match their frontend, Compose files and deployment arrangement to the repository you are actually changing.

full-stack-fastapi-template vs Next.js forks and smaller API starters

Mitic's Next.js fork changes the frontend and authentication, while rafsaf's starter was offered as a smaller backend response to older upstream code. Those are architectural reasons to compare them with the official template. Mitic describes his own SSR requirements; rafsaf describes the historical database patterns and complexity he wanted to replace. Neither account supplies a comparative installation or throughput result for our October checkout.

Candidate Why someone chose it When that points away from upstream
Official full-stack-fastapi-template FastAPI, React and PostgreSQL are connected in one starting repository. The README describes the bundled frontend. Keep it when those choices match your application.
nemanjam/full-stack-fastapi-template-nextjs Mitic wanted server rendering and HttpOnly cookie authentication. His account describes rebuilding the frontend and adapting auth. Compare this fork if Next.js Server Components and cookie authentication for SSR are requirements.
rafsaf/minimal-fastapi-postgres-template Its author offered a backend rewrite using asyncpg, newer SQLAlchemy patterns, typing and async endpoints. That historical motivation appears in #422. Inspect it when a smaller backend starting point matters more than retaining upstream's UI.
An independently chosen frontend nyejon removed the frontend for several API projects. Issue #64 describes that separation. Choose the separation deliberately if another team owns the frontend architecture.

Current upstream also documents a backend-only conversion. The frontend removal instructions cover the frontend directory, the app.frontend() call in backend/app/main.py, the frontend image stage, Playwright service and deployment-related entries. That gives API-only projects a documented modification route within upstream. It also makes the choice concrete: keep the integrated interface, remove its connected pieces, or select a starter organized around a backend from the outset.

What the other reviews get wrong

RepoCritics names Chakra UI, while the current upstream frontend guide names Tailwind CSS and shadcn/ui. RepoCritics' component-library description therefore differs from the current frontend stack. A historical fork or tutorial may accurately describe its own Chakra interface. The correction concerns applying that description to today's upstream starting repository, where the documented component choices have changed.

Railway's listing identifies the 6ixfalls fork, so its separate frontend-hosting advice belongs to that deployment. Upstream's README instead says FastAPI serves the built frontend on the API domain. FastAPI's own announcement describes one app, one deployment and one domain. The current development guide's separate Vite server is another arrangement again: it is the local development process, rather than a requirement for a separate production frontend host.

Hysen Labs describes a generated client in terms that can suggest API response changes automatically reach the frontend build. Its maintenance advice and GitHub.Locker's FAQ both call for regeneration after endpoint changes. The upstream frontend guide makes that step explicit as well. Separately, TopBoilerplates' October last-commit observation is a dated snapshot: GitHub's API records the later November 16 push. The observation date must travel with the claim.

RepoCritics also lists an async-by-default backend and refresh tokens. Comments on the 0.8.0 announcement describe different behavior, including Hamza Mughal's statement that he read the code and found no refresh tokens. That comment belongs to the 0.8.0 discussion. The documented November feature list says JWT authentication; it is a narrower statement than RepoCritics' refresh-token claim. The implementation questions requiring a separate audit appear in the final section.

Questions people ask

Full Stack FastAPI Template is a repository template: the README instructs you to use GitHub's Use this template button to create your own repository. GitHub.Locker also answers the copy-versus-install question. The questions below cover reported use, maintenance, local startup and hosting, then distinguish the bundled production frontend from separate development processes and historical deployment instructions.

Has anyone used full-stack-fastapi-template, and what were the good and bad experiences?

ZorroGuardaPavos reports personal-project use, GDemay reports VPS hosting, and bluewalt describes building a customized template. ZorroGuardaPavos discusses application boundaries and SQLModel preferences; GDemay and bluewalt describe hosting and customization. These accounts help identify the work users chose after adoption: organizing application modules, changing frontend tooling and adding operational commands to their own copies.

Is full-stack-fastapi-template still maintained?

GitHub records a November 16, 2026 push, and the roadmap marks major modernization changes complete. The API timestamp is a dated activity fact, while issue #541 describes development priorities and completed changes. Older abandonment questions refer to earlier repository states; use their reported errors for historical context and the dated metadata for the narrower question of later activity.

How do I install and start full-stack-fastapi-template as a beginner?

The development guide starts supporting services with docker compose up -d db mailpit, then prepares the backend with uv sync and uv run bash scripts/prestart.sh. From the backend directory, it starts FastAPI with uv run fastapi dev. In another terminal at the project root, it uses bun install and bun run dev for Vite. These are the guide's documented local steps, rather than a completed sequence from our run.

Which Python, JavaScript, and Docker tools do I need before starting?

The documented local workflow uses uv for the Python backend, Bun for the frontend and Docker Compose for PostgreSQL and Mailpit. The development guide gives the process and directory boundaries. The remote Compose deployment guide instead requires Docker Engine on the server and says its backend image builds the frontend, so that server does not need Bun or prebuilt frontend files.

Why does docker compose up fail or leave the frontend and backend inaccessible?

Issue #534 reports several causes and symptoms, including felixpahlke's competing Traefik instance and other participants' middleware, certificate-resolver and configuration errors. The thread attaches the successful cluster change to felixpahlke's environment. Match the error and active proxy before adopting that repair. The current development guide also says to stop a locally running FastAPI server before starting the Compose backend, because both use port 8000.

Where should I host the template, and how do I deploy it successfully?

Upstream documents FastAPI Cloud and self-hosted Docker Compose deployment, while GDemay reports using a basic VPS. The README links the two deployment routes, and GDemay identifies the VPS route. The Compose guide requires a remote server, DNS records, Docker Engine, application configuration and secrets. Those requirements make the operator's responsibilities explicit before running its build, database preparation and startup commands.

How do I deploy on AWS EC2 with Traefik and working HTTPS?

The current Compose deployment guide describes a remote-server route using compose.yml and compose.deploy.yml; issue #322 instead documents a historical Docker Swarm deployment on EC2. The current guide explains HTTPS configuration, while issue #322 names its older Swarm workflow. Use the file combination that belongs to the chosen architecture rather than combining the two command sequences.

How do I configure DNS and CNAME records for an EC2 deployment?

The Compose deployment guide instructs you to point the application domain and any exposed supporting-service subdomains at your server. Its examples include an application domain and an Adminer subdomain. That is the current guide's DNS requirement. The historical EC2 thread includes staging CNAME examples, whose example domain names belong to that walkthrough rather than your installation.

Does FastAPI serve the React frontend, or do I need separate deployments?

Current upstream serves the built React frontend through FastAPI on the API domain. The README states that arrangement, and the development guide describes building into backend/app/frontend. Its Vite server at port 5173 is a local development process. Railway's fork and Mitic's Next.js fork describe other hosting arrangements, so their frontend separation should stay attached to those projects.

How do I connect FastAPI and React without CORS errors?

The built frontend uses the same origin as FastAPI by default; the frontend guide documents VITE_API_URL when Vite should call a remote API. The guide explains that API-address setting. Setting it selects the request destination. The documented default and remote-development option are different configurations, so retain that distinction when following a tutorial about connecting independently hosted frontend and backend services.

Can I remove the frontend and use the template only for an API?

Yes: the frontend guide documents removing the frontend directory, FastAPI frontend mount, image build stage and related service and deployment entries. The removal list identifies the connected files. Historically, nyejon reported removing the frontend for several API projects. The current instructions are more specific than deleting the interface directory alone, because they also address how the application builds and serves it.

What we have not tested yet

Our runs stop before completed application acceptance: October's authenticate setup failed, and November's host-access rule blocked the proxy configuration. The visible October tail omits the underlying error, so it cannot diagnose a missing browser, rejected credentials or a database failure. The lab-node:22 label records configuration rather than actual runtime or operating-system versions. The skipped harness build also supplies no completed frontend compilation result.

We have not tested production concurrency, connection-pool saturation, migration recovery, external database deployment, EC2 DNS and HTTPS, client regeneration or the current backend-only conversion. The historical issue accounts describe their authors' environments rather than a current-release benchmark or a generally resolved recovery procedure. The full Playwright output and raw toolchain logs would be needed to extend the October diagnosis beyond its recorded setup failure.

We have not audited current refresh-token behavior, browser token storage, HttpOnly cookies, session expiry or authorization boundaries. The 0.8.0 discussion and Mitic's separate fork do not settle those implementation details for commit b1125d8 or November upstream. No security audit, application-level memory measurement, billing implementation or tenancy implementation was part of our runs. No numerical product ratings are assigned from these incomplete application results.

The named user accounts establish personal projects, customization and deployment choices rather than measured SaaS revenue or organization-wide reliability. Rendered layout, assets, accessibility, automatic related links and recommendation modules were also outside this text review. A useful next application check would use deployment configuration allowed by the host-access rules, then record successful authentication and an application task with an inspectable result.

Alternatives

ProjectWhat it isPick it when
Full Stack FastAPI Template Next.jsMitic's fork replaces the frontend with Next.js and changes authentication for server rendering.Compare this fork when Server Components and HttpOnly cookie authentication are requirements you want in the starting architecture.
Minimal FastAPI PostgreSQL templateA backend starter offered by its author in the historical discussion of upstream's complexity and database patterns.Inspect it when a smaller API foundation matters more than retaining upstream's integrated React interface. Its author's account describes the older upstream code he was responding to.

Sources

  1. Current upstream README
  2. Does anyone use this full-stack-fastapi-template?
  3. Opinions on full-stack-fastapi-template?
  4. Docker Compose startup reports, issue #534
  5. Full Stack FastAPI Template Next.js, Nemanja Mitic
  6. Database connection-pool discussion, issue #104
  7. Current local development guide
  8. Current frontend guide
  9. Current Docker Compose deployment guide

More web reviews