{"id":50891615,"url":"https://github.com/ferdiebergado/netlify-fullstack","last_synced_at":"2026-06-15T21:30:39.989Z","repository":{"id":354428742,"uuid":"1221470087","full_name":"ferdiebergado/netlify-fullstack","owner":"ferdiebergado","description":"Fullstack typescript application template for deployment to Netlify","archived":false,"fork":false,"pushed_at":"2026-05-06T07:06:48.000Z","size":1267,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T08:17:31.397Z","etag":null,"topics":["fullstack","libsql","netlify","nodejs","oauth2","react","react-query","react-router","shadcn","sqlite","turso","typescript","vite","zod"],"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/ferdiebergado.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":null,"dco":null,"cla":null}},"created_at":"2026-04-26T08:52:22.000Z","updated_at":"2026-05-06T07:06:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ferdiebergado/netlify-fullstack","commit_stats":null,"previous_names":["ferdiebergado/netlify-fullstack"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ferdiebergado/netlify-fullstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdiebergado%2Fnetlify-fullstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdiebergado%2Fnetlify-fullstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdiebergado%2Fnetlify-fullstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdiebergado%2Fnetlify-fullstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferdiebergado","download_url":"https://codeload.github.com/ferdiebergado/netlify-fullstack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferdiebergado%2Fnetlify-fullstack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34381757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fullstack","libsql","netlify","nodejs","oauth2","react","react-query","react-router","shadcn","sqlite","turso","typescript","vite","zod"],"created_at":"2026-06-15T21:30:36.614Z","updated_at":"2026-06-15T21:30:39.983Z","avatar_url":"https://github.com/ferdiebergado.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netlify Fullstack TypeScript Template\n\nA fullstack starter for Netlify built with React, Vite, TypeScript, and serverless APIs.\n\n## Features\n\n- React 19 frontend with Vite and fast HMR\n- Netlify Functions API endpoints under `/api/*`\n- Netlify Edge middleware for request logging, content-type validation, session management, and CSRF protection\n- Shared `zod` schemas and TypeScript types across client and backend\n- SQLite/libsql database bootstrapped with `init.sql`\n- Auth flow with sign-in, sign-out, and user session handling\n- React Router v7 route-based layout and guarded routes\n- React Query for client-side data fetching and cache updates\n- Shadcn components\n\n## Tech stack\n\n- React 19\n- Vite 8\n- TypeScript 6\n- Netlify Functions and Edge Functions\n- React Router v7\n- React Query v5\n- Shadcn with base-ui\n- Zod for schema validation\n- SQLite/libsql database\n- Google Oauth\n- ESLint and Prettier for code quality\n- Vitest for testing\n\n## Getting started\n\nInstall dependencies:\n\n```bash\npnpm install\n```\n\nRun the development environment:\n\n```bash\npnpm dev\n```\n\nBuild the app:\n\n```bash\npnpm build\n```\n\nPreview the production build:\n\n```bash\npnpm preview\n```\n\nLint the project:\n\n```bash\npnpm lint\n```\n\nRun tests:\n\n```bash\npnpm test\n```\n\n## Database commands\n\nCreate the local SQLite database:\n\n```bash\npnpm db:create\n```\n\nInteract with the database.\n\n```bash\npnpm db\n```\n\nReset the database:\n\n```bash\npnpm db:reset\n```\n\n## Project structure\n\n- `src/` — React application, routes, UI components, and auth hooks\n- `backend/` — server utilities, database layer, OAuth, session, and HTTP helpers\n- `netlify/edge-functions/` — edge middleware for request, JSON, session, and CSRF handling\n- `netlify/functions/` — Netlify Functions API handlers\n- `shared/` — shared schemas, types, and utilities\n- `tests/` — integration tests and helpers\n\n## Netlify routing\n\nThe `netlify.toml` configuration defines:\n\n- `/api/*` redirects to `/.netlify/functions/:splat`\n- SPA fallback for page routing via `/index.html`\n- edge functions for API requests and app response handling\n\n## Notes\n\n- The project uses `pnpm` and Node 22.\n- Path aliases are configured in `tsconfig.json`:\n  - `@/*` → `./src/*`\n  - `@backend/*` → `./backend/*`\n  - `@shared/*` → `./shared/*`\n- React Compiler support is enabled through `@vitejs/plugin-react`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdiebergado%2Fnetlify-fullstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferdiebergado%2Fnetlify-fullstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdiebergado%2Fnetlify-fullstack/lists"}