{"id":42672696,"url":"https://github.com/maty-millien/boilerplate-next.js","last_synced_at":"2026-01-29T11:03:51.115Z","repository":{"id":310506293,"uuid":"982249675","full_name":"maty-millien/Boilerplate-Next.js","owner":"maty-millien","description":"A modern starter template for full-stack applications with Next.js 15, Google authentication, PostgreSQL (via Prisma), and a complete UI component library based on shadcn/ui. Pre-configured for rapid development with authentication, database integration, theming, and accessible UI.","archived":false,"fork":false,"pushed_at":"2025-09-21T10:07:39.000Z","size":9890,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T10:22:54.322Z","etag":null,"topics":["auth","boilerplate","dark-mode","fullstack","google-oauth","nextjs","nextjs-app-router","postgresql","prisma","react","shadcn-ui","starter-template","tailwind-css","typescript","ui-components"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maty-millien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-05-12T15:39:22.000Z","updated_at":"2025-09-21T10:07:42.000Z","dependencies_parsed_at":"2025-09-21T10:22:57.684Z","dependency_job_id":null,"html_url":"https://github.com/maty-millien/Boilerplate-Next.js","commit_stats":null,"previous_names":["maty-millien/boilerplate-next.js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maty-millien/Boilerplate-Next.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maty-millien%2FBoilerplate-Next.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maty-millien%2FBoilerplate-Next.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maty-millien%2FBoilerplate-Next.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maty-millien%2FBoilerplate-Next.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maty-millien","download_url":"https://codeload.github.com/maty-millien/Boilerplate-Next.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maty-millien%2FBoilerplate-Next.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["auth","boilerplate","dark-mode","fullstack","google-oauth","nextjs","nextjs-app-router","postgresql","prisma","react","shadcn-ui","starter-template","tailwind-css","typescript","ui-components"],"created_at":"2026-01-29T11:03:24.643Z","updated_at":"2026-01-29T11:03:51.105Z","avatar_url":"https://github.com/maty-millien.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚡ Boilerplate Next.js\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)  \n[![Next.js](https://img.shields.io/badge/Next.js-15-black?logo=next.js)](#)  \n[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-14-blue?logo=postgresql)](#)  \n[![Tailwind CSS](https://img.shields.io/badge/TailwindCSS-3.3-blue?logo=tailwind-css)](#)  \n[![TypeScript](https://img.shields.io/badge/TypeScript-5.1-blue?logo=typescript)](#)  \n[![Prisma](https://img.shields.io/badge/Prisma-v4-blue?logo=prisma)](#)  \n[![Bun](https://img.shields.io/badge/Bun-0.6-black?logo=bun)](#)  \n[![Node.js](https://img.shields.io/badge/Node.js-20-green?logo=node.js)](#)  \n[![Build](https://img.shields.io/badge/build-passing-brightgreen)](#)\n\nA modern starter template for full-stack applications with **Next.js 15**, Google authentication, PostgreSQL (via Prisma), and a complete UI component library based on **shadcn/ui**. Pre-configured for rapid development with authentication, database integration, theming, and accessible UI.\n\n## ✨ Features\n\n- ⚡ **Next.js 15** with App Router\n- 🔐 **Google Authentication** via better-auth\n- 🗄️ **PostgreSQL Database** using Prisma ORM\n- 🖌️ **Prebuilt UI Components** using shadcn/ui and Tailwind CSS\n- 🌗 **Light/Dark Theme Toggle** with state persistence\n- 🔔 **Toast Notifications**\n\n## 🚀 Usage\n\nRun the setup script via curl to scaffold a new project. The script will prompt you for the app name interactively (you don't need to pass it on the command line):\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/maty-millien/boilerplate/main/setup.sh | sh\n```\n\nWhen you run the script it will:\n\n- Download the latest boilerplate from GitHub\n- Prompt you for an app name and copy the boilerplate into a folder with that name\n- Replace all instances of `\"boilerplate\"` with your app name\n- Initialize a new Git repository\n- Install dependencies with **bun**\n\nAfter setup, enter your new project directory and follow the next steps.\n\n## 🛠️ Getting Started\n\n### 1. Install dependencies\n\n```bash\nbun install\n```\n\n### 2. Configure environment variables\n\nCreate a `.env` file in the root:\n\n```env\nDATABASE_URL=postgresql://USER:PASSWORD@HOST:PORT/DATABASE\nGOOGLE_CLIENT_ID=your-google-client-id\nGOOGLE_CLIENT_SECRET=your-google-client-secret\n```\n\n### 3. Set up the database\n\n```bash\nnpx prisma migrate deploy\n```\n\n## 📝 Scripts\n\n- `bun run dev` – Start development server\n- `bun run build` – Build for production\n- `bun start` – Run production server\n\n## 💻 Tech Stack\n\n- **Frontend:** Next.js 15, React 19, Tailwind CSS, shadcn/ui\n- **Backend:** Prisma ORM, PostgreSQL\n- **Auth:** Google OAuth (better-auth)\n\n## 🎨 Theming\n\n- Light/dark mode toggle\n- Theme state persisted across sessions\n\n## 🔑 Authentication\n\n- Sign in with Google\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaty-millien%2Fboilerplate-next.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaty-millien%2Fboilerplate-next.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaty-millien%2Fboilerplate-next.js/lists"}