https://github.com/siddharth-shringarpure/modern-nextjs-fastapi-template
A clean, modern, full-stack template with Next.js 16, FastAPI, Tailwind CSS 4, and shadcn/ui.
https://github.com/siddharth-shringarpure/modern-nextjs-fastapi-template
eslint fastapi fastapi-boilerplate fastapi-template framer-motion motion nextjs nextjs-boilerplate nextjs-template python python3 react reactjs ruff shadcn shadcn-ui tailwind tailwindcss tailwindcss-v4
Last synced: 2 months ago
JSON representation
A clean, modern, full-stack template with Next.js 16, FastAPI, Tailwind CSS 4, and shadcn/ui.
- Host: GitHub
- URL: https://github.com/siddharth-shringarpure/modern-nextjs-fastapi-template
- Owner: siddharth-shringarpure
- License: mit
- Created: 2026-01-10T23:48:08.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-04-18T21:05:18.000Z (2 months ago)
- Last Synced: 2026-04-18T23:18:39.706Z (2 months ago)
- Topics: eslint, fastapi, fastapi-boilerplate, fastapi-template, framer-motion, motion, nextjs, nextjs-boilerplate, nextjs-template, python, python3, react, reactjs, ruff, shadcn, shadcn-ui, tailwind, tailwindcss, tailwindcss-v4
- Language: TypeScript
- Homepage: https://thewebdevtemplate.vercel.app
- Size: 568 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modern Next.js + FastAPI Template
A clean, modern, full-stack template with Next.js 16, FastAPI, Tailwind CSS 4, and shadcn/ui.

## 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)