{"id":48763984,"url":"https://github.com/jonluca/vinext-boilerplate","last_synced_at":"2026-04-13T07:44:48.297Z","repository":{"id":345828226,"uuid":"1185632862","full_name":"jonluca/vinext-boilerplate","owner":"jonluca","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-20T22:29:30.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T12:59:03.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jonluca.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-18T19:38:08.000Z","updated_at":"2026-03-20T22:29:34.000Z","dependencies_parsed_at":"2026-03-21T13:00:50.352Z","dependency_job_id":null,"html_url":"https://github.com/jonluca/vinext-boilerplate","commit_stats":null,"previous_names":["jonluca/vinext-boilerplate"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jonluca/vinext-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonluca%2Fvinext-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonluca%2Fvinext-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonluca%2Fvinext-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonluca%2Fvinext-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonluca","download_url":"https://codeload.github.com/jonluca/vinext-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonluca%2Fvinext-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31744404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: 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":[],"created_at":"2026-04-13T07:44:46.466Z","updated_at":"2026-04-13T07:44:48.290Z","avatar_url":"https://github.com/jonluca.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vinext Boilerplate\n\nMinimal Next.js web boilerplate with:\n\n- Next.js 16 Pages Router\n- React 19\n- Drizzle + PostgreSQL\n- `@t3-oss/env-nextjs` runtime env parsing\n- `oxfmt` and `oxlint`\n- `vinext` for local dev and Cloudflare-targeted builds\n- `wrangler` for Cloudflare Workers deployment\n\n## Prerequisites\n\n- Node.js 24+\n- `pnpm` 10+\n- PostgreSQL access if you plan to run Drizzle queries\n\n## Setup\n\nInstall dependencies:\n\n```bash\npnpm install\n```\n\nCreate a local env file:\n\n```bash\ncp .env.example .env\n```\n\nSync the sample Drizzle schema when your database is ready:\n\n```bash\npnpm db:push\n```\n\nStart the app:\n\n```bash\npnpm dev\n```\n\n## Common scripts\n\n- `pnpm dev`: start the vinext development server\n- `pnpm build`: create the Cloudflare-targeted production bundle with Vite\n- `pnpm start`: run the built app locally\n- `pnpm deploy`: build and deploy to Cloudflare Workers\n- `pnpm deploy:dry-run`: build the deploy artifact without publishing it\n- `pnpm vinext:check`: scan for vinext compatibility issues\n- `pnpm cf-typegen`: generate `cloudflare-env.d.ts` from `wrangler.jsonc`\n- `pnpm lint`: run Oxfmt checks and Oxlint\n- `pnpm format:write`: format supported files with Oxfmt\n- `pnpm typecheck`: run TypeScript checks\n- `pnpm db:push`: push the Drizzle schema to your database\n- `pnpm db:studio`: open Drizzle Studio\n\n## Project layout\n\n- `src/env.ts`: runtime env validation and defaults\n- `src/server/db.ts`: Drizzle client using postgres-js\n- `src/server/schema.ts`: sample `Post` table schema\n- `wrangler.jsonc`: Cloudflare Workers runtime configuration\n\n## Cloudflare\n\nAuthenticate Wrangler before the first deploy:\n\n```bash\nwrangler login\n```\n\nThen deploy:\n\n```bash\npnpm deploy\n```\n\n`wrangler.jsonc` intentionally does not include an `account_id`. Supply it through Wrangler login state or environment configuration when you wire the project to a real account.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonluca%2Fvinext-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonluca%2Fvinext-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonluca%2Fvinext-boilerplate/lists"}