Next.jsReactStarter

modern-nextjs-fastapi-template — Next.js Starter Template

By siddharth-shringarpure

A full-stack starter template consisting of a Next.js frontend and a FastAPI backend, using frontend libraries such as Tailwind CSS and shadcn/ui, with dependencies managed by pnpm and uv.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

2 previews
Desktop homepage1 / 2
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 2

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-14View source

What stands out

A quick read of the recorded project description.

01

The frontend is Next.js (Turbopack), using Tailwind CSS and shadcn/ui components

02

The backend is FastAPI, requiring Python 3.13+

03

The frontend uses libraries such as Lucide React, Sonner, and Motion

04

Ruff is used for checking and formatting on the Python side, and ESLint on the TypeScript side

05

Dependency management uses pnpm (TypeScript) and uv (Python) respectively

06

The repository structure is divided into three parts: app/, backend/, and components/ui/

Template Details

This template places the frontend and backend in the same repository: the app/ directory is the Next.js frontend, the backend/ directory is the FastAPI backend, and components/ui/ holds shadcn/ui components. The frontend technologies listed in the README include Next.js (Turbopack), Tailwind CSS, shadcn/ui, Lucide React, Sonner, and Motion; the backend uses FastAPI and Python 3.13+. Code checking and formatting use Ruff (Python) and ESLint (TypeScript), and package management uses pnpm and uv respectively.

The startup flow given in the README is: first run pnpm install and uv sync to install dependencies, then run pnpm dev to start the frontend (localhost:3000) and uv run fastapi dev backend/main.py to start the backend (localhost:8000). The project is released under the MIT license.

The README does not describe databases, authentication, environment variables, testing, CI/CD, or deployment methods, nor does it describe page functionality or business logic, so these aspects cannot be confirmed from the available materials.

Next.jsReactStarter

Is it right for your project?

Use Cases

  • You need a starter project skeleton with frontend and backend in the same repository
  • You want to build the interface on the frontend based on Next.js and shadcn/ui
  • You want to use FastAPI and Python 3.13+ on the backend
  • You want to use pnpm and uv to uniformly manage dependencies and commands for both ends

Suitable For

  • Developers familiar with Next.js and FastAPI
  • Projects where you want to extend business logic yourself and do not rely on built-in template features
  • Teams that accept manually starting the frontend and backend according to the README commands

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    You need to install the two package managers pnpm and uv first

  2. 2

    Run pnpm install and uv sync to install dependencies

  3. 3

    Start the frontend with pnpm dev, defaulting to localhost:3000

  4. 4

    Start the backend with uv run fastapi dev backend/main.py, defaulting to localhost:8000

  5. 5

    To add shadcn components, run pnpm dlx shadcn@latest add <component> in the root directory

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in a public repository; the free scope is the code of that version and does not mean that external services or third-party materials are free.

Must comply with when using

  • You are allowed to use, modify, commercialize, and distribute the code of this version for free.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the complete MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Demo images, fonts, icons, and other third-party materials must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis

Compiled by DeepSeek based on repository license and README ·2026-10-14. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 85 / 100
Technologies
Next.js · React
Website type
Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-10-09
Screenshot last checked
2026-10-14

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Next.js as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Review declaration: codex-user-requested-batch-review-20261017 · 2026-10-16

Inspect the recorded source material

SHA-256: 3bebcfc89bf20a462ea831f90babad00d4777131ad555772b18be6f6cf2db4da

2026-10-14T15:09:15.943Z

Source file / repository
# Modern Next.js + FastAPI Template

A clean, modern, full-stack template with Next.js 16, FastAPI, Tailwind CSS 4, and shadcn/ui.

<img src="public/image.png" alt="Modern Next.js + FastAPI Template" width="auto">

## Tech Stack

**Frontend:** [`Next.js 16 (Turbopack)`](https://nextjs.org/docs) · [`Tailwind CSS 4`](https://tailwindcss.com/docs) · [`shadcn/ui`](https://ui.shadcn.com/docs/components) · [`Lucide React`](https://lucide.dev/icons/) · [`Sonner`](https://sonner.emilkowal.ski/) · [`Motion`](https://motion.dev/docs/react)

**Backend:** [`FastAPI`](https://fastapi.tiangolo.com/) · `Python 3.13+`

**Linting:** [`Ruff`](https://docs.astral.sh/ruff/) (Python) · [`ESLint`](https://eslint.org/docs/latest/) (TypeScript)

**Package Managers:** [`pnpm`](https://pnpm.io/) (TypeScript) · [`uv`](https://docs.astral.sh/uv/) (Python)

## Prerequisites

- [pnpm](https://pnpm.io/installation) — fast Node.js package manager
- [uv](https://docs.astral.sh/uv/getting-started/installation/) — fast Python package manager

## Quick Start

```bash
# Install dependencies
pnpm install && uv sync

# Run frontend (localhost:3000)
pnpm dev

# Run backend (localhost:8000)
uv run fastapi dev backend/main.py
```

## Project Structure

```
app/            -> Next.js frontend
backend/        -> FastAPI backend
components/ui/  -> shadcn/ui components
```

## Commands

```bash
# Add shadcn component (from root directory)
pnpm dlx shadcn@latest add button

# Linting and formatting
uv run ruff check --fix backend/
uv run ruff format backend/
pnpm run lint --fix
```

## Licence

[MIT License](LICENSE)
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.