{"id":30494693,"url":"https://github.com/voltamon/hackathon-starter-template","last_synced_at":"2025-08-27T01:04:17.813Z","repository":{"id":311028150,"uuid":"1041516089","full_name":"Voltamon/Hackathon-Starter-Template","owner":"Voltamon","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-21T16:26:25.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-21T19:11:25.815Z","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/Voltamon.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}},"created_at":"2025-08-20T15:46:01.000Z","updated_at":"2025-08-21T16:26:28.000Z","dependencies_parsed_at":"2025-08-21T19:12:25.023Z","dependency_job_id":"8fed7a91-0537-42d7-b10c-71a84b4b529b","html_url":"https://github.com/Voltamon/Hackathon-Starter-Template","commit_stats":null,"previous_names":["voltamon/hackathon-starter-template"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Voltamon/Hackathon-Starter-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voltamon%2FHackathon-Starter-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voltamon%2FHackathon-Starter-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voltamon%2FHackathon-Starter-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voltamon%2FHackathon-Starter-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Voltamon","download_url":"https://codeload.github.com/Voltamon/Hackathon-Starter-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voltamon%2FHackathon-Starter-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271977131,"owners_count":24852845,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"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":[],"created_at":"2025-08-24T23:37:06.152Z","updated_at":"2025-08-24T23:37:08.648Z","avatar_url":"https://github.com/Voltamon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starter Fullstack Template\n\nThis repository contains a minimal full-stack starter app:\n\n- Frontend: Vite + Preact + TypeScript, serves on port 3000\n- Backend: Go + Gin, serves API on port 8080\n- Pocketbase: runs on port 8090\n\nGetting started (Windows PowerShell):\n\n1. Build and start all services:\n\n```\ndocker-compose up --build\n```\n\n2. Frontend will be available at http://localhost:3000\n3. Backend API: http://localhost:8080/api/hello\n4. Pocketbase admin: http://localhost:8090\n\nNotes:\n- The frontend Dockerfile runs Vite in dev mode. For production, build the frontend and serve static files from a simple web server.\n- The backend uses CORS allowing all origins for development. Lock this down in production.\n\nDevelopment tips\n\n- From PowerShell you can run the whole stack with:\n\n```\ndocker-compose up --build\n```\n\n- To only run frontend locally (hot-reload) without Docker:\n\n```\ncd frontend; npm install; npm run dev\n```\n\n- To build frontend for production and serve statically (example):\n\n```\ncd frontend; npm install; npm run build\n# then serve the 'dist' folder with any static server\n```\n\nRequirements coverage\n\n- Frontend: Vite with Preact and TypeScript -\u003e Done (`frontend/package.json`, `vite.config.ts`, `tsconfig.json`, `src`)\n- Frontend index.html linking Pico CSS and app entry -\u003e Done (`frontend/index.html`)\n- Frontend App with button fetching backend -\u003e Done (`frontend/src/App.tsx`, `src/api.ts`)\n- Backend: Go Gin server with CORS and GET /api/hello -\u003e Done (`backend/main.go`)\n- Backend Dockerfile -\u003e Done (`backend/Dockerfile`)\n- Pocketbase service -\u003e Done (`docker-compose.yml`)\n- Frontend Dockerfile and compose wiring -\u003e Done (`frontend/Dockerfile`, `docker-compose.yml`)\n\nNotes / assumptions\n\n- The frontend Dockerfile runs Vite in dev mode for simplicity. For production, replace with a multi-stage build that builds assets and serves them with a static server.\n- The compose file maps ports 3000, 8080, 8090 on the host. If these are occupied, change them in `docker-compose.yml`.\n- This is a minimal example intended for local development.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoltamon%2Fhackathon-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoltamon%2Fhackathon-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoltamon%2Fhackathon-starter-template/lists"}