{"id":25860125,"url":"https://github.com/siddikisahil47/nextjs-flask-starter","last_synced_at":"2026-04-09T15:47:40.827Z","repository":{"id":279911980,"uuid":"939992505","full_name":"siddikisahil47/nextjs-flask-starter","owner":"siddikisahil47","description":"A modern full-stack starter template using Next.js 15 with a Flask backend. This template provides a seamless development experience with TypeScript, TailwindCSS and hot-reloading for both frontend and backend. Optimized for Vercel deployment making it easy to build and deploy scalable applications.","archived":false,"fork":false,"pushed_at":"2025-02-28T06:13:32.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T13:27:40.603Z","etag":null,"topics":["backend","flask","frontend","nextjs","nextjs15","nextjs15-typescript","python","react","starter-template","tailwindcss","typescript","vercel"],"latest_commit_sha":null,"homepage":"https://nextjs-flask-starter-template.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siddikisahil47.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-27T12:49:31.000Z","updated_at":"2025-02-28T06:27:34.000Z","dependencies_parsed_at":"2025-02-28T13:27:51.217Z","dependency_job_id":"63421658-b750-4b93-bf52-e2142b02cd46","html_url":"https://github.com/siddikisahil47/nextjs-flask-starter","commit_stats":null,"previous_names":["siddikisahil47/nextjs-flask-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddikisahil47%2Fnextjs-flask-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddikisahil47%2Fnextjs-flask-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddikisahil47%2Fnextjs-flask-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddikisahil47%2Fnextjs-flask-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddikisahil47","download_url":"https://codeload.github.com/siddikisahil47/nextjs-flask-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241430320,"owners_count":19961636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","flask","frontend","nextjs","nextjs15","nextjs15-typescript","python","react","starter-template","tailwindcss","typescript","vercel"],"created_at":"2025-03-01T21:54:16.234Z","updated_at":"2025-12-30T19:14:36.420Z","avatar_url":"https://github.com/siddikisahil47.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Flask Starter Template\n\nA modern full-stack template using Next.js 15 with Flask backend\n\n## 🚀 Features\n\n- **Frontend**: Next.js 15 with TypeScript\n- **Backend**: Python Flask API\n- **Styling**: TailwindCSS\n- **Development**: Hot-reload for both Next.js and Flask\n- **Production-ready**: Optimized for Vercel deployment\n\n## 🛠️ Tech Stack\n\n- [Next.js](https://nextjs.org/) - React Framework (v15.2.0)\n- [Flask](https://flask.palletsprojects.com/) - Python Backend\n- [TailwindCSS](https://tailwindcss.com/) - Styling (v4.0.9)\n- [TypeScript](https://www.typescriptlang.org/) - Type Safety (v5)\n- [React](https://react.dev/) - UI Library (v19.0.0)\n- [Vercel](https://vercel.com/) - Deployment Platform\n\n## 📦 Quick Start\n\n1. **Install pnpm** (if not already installed)\n\n```bash\n# macOS (using Homebrew)\nbrew install pnpm\n\n# Windows (using npm)\nnpm install -g pnpm\n\n# Linux/Unix (using npm)\nnpm install -g pnpm\n\n# Using curl (Unix-like systems)\ncurl -fsSL https://get.pnpm.io/install.sh | sh -\n```\n\n2. **Install Python \u0026 Set up Virtual Environment**\n\n```bash\n# Install Python (if not installed)\n# macOS\nbrew install python3\n\n# Windows - Download from https://www.python.org/downloads/\n\n# Create virtual environment\npython3 -m venv .venv\n\n# Activate virtual environment\n# On macOS/Linux\nsource .venv/bin/activate\n# On Windows\n.venv\\Scripts\\activate\n\n# Verify Python installation\npython --version\npip --version\n```\n\n3. **Clone the template**\n\n```bash\nnpx create-next-app my-app --example https://github.com/siddikisahil47/nextjs-flask-starter\n```\n\n4. **Install dependencies**\n\n```bash\n# Install frontend dependencies\nnpm install\n# or\npnpm install\n\n# Install Python dependencies\npip install -r requirements.txt\n```\n\n5. **Start development servers**\n\n```bash\n# Start both Next.js and Flask servers\nnpm run dev\n# or\npnpm dev\n```\n\n6. **Open browsers**\n\n- Frontend: [http://localhost:3000](http://localhost:3000)\n- Backend API: [http://127.0.0.1:5328/api/python](http://127.0.0.1:5328/api/python)\n\n## 🔧 Project Structure\n\n```\n├── app/                   # Next.js frontend\n│   ├── layout.tsx        # Root layout\n│   └── page.tsx          # Home page\n├── api/                   # Flask backend\n│   └── index.py          # API routes\n├── public/               # Static assets\n└── package.json          # Project configuration\n```\n\n## 🌐 API Routes\n\nThe Flask backend is automatically mapped to `/api/*` routes in Next.js:\n\n- `GET /api/python` - Example endpoint\n\n## 📝 Environment Variables\n\nCreate a `.env.local` file:\n\n```env\nNEXT_PUBLIC_API_URL=http://127.0.0.1:5328\n```\n\n## 🚀 Deployment\n\nDeploy to Vercel with one click:\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsiddikisahil47%2Fnextjs-flask-starter)\n\n## 📚 Learn More\n\n- [Next.js Documentation](https://nextjs.org/docs)\n- [Flask Documentation](https://flask.palletsprojects.com/)\n- [Vercel Python Guide](https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python)\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddikisahil47%2Fnextjs-flask-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddikisahil47%2Fnextjs-flask-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddikisahil47%2Fnextjs-flask-starter/lists"}