{"id":30584114,"url":"https://github.com/Code42Cate/hackathon-starter","last_synced_at":"2025-08-29T09:03:04.988Z","repository":{"id":203860704,"uuid":"710481313","full_name":"Code42Cate/hackathon-starter","owner":"Code42Cate","description":"Hackathon Starter Template (NextJS, Hono, ShadcnUI, Prisma, Postgres, Docker)","archived":false,"fork":false,"pushed_at":"2024-12-11T21:06:39.000Z","size":163,"stargazers_count":72,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-11T22:19:33.342Z","etag":null,"topics":["boilerplate","hackathon","starter"],"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/Code42Cate.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}},"created_at":"2023-10-26T19:29:34.000Z","updated_at":"2024-12-11T21:27:46.000Z","dependencies_parsed_at":"2023-10-30T17:25:52.058Z","dependency_job_id":null,"html_url":"https://github.com/Code42Cate/hackathon-starter","commit_stats":null,"previous_names":["code42cate/hackathon-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Code42Cate/hackathon-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code42Cate%2Fhackathon-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code42Cate%2Fhackathon-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code42Cate%2Fhackathon-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code42Cate%2Fhackathon-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code42Cate","download_url":"https://codeload.github.com/Code42Cate/hackathon-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code42Cate%2Fhackathon-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272658783,"owners_count":24971604,"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-29T02:00:10.610Z","response_time":87,"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":["boilerplate","hackathon","starter"],"created_at":"2025-08-29T09:03:02.626Z","updated_at":"2025-08-29T09:03:04.941Z","avatar_url":"https://github.com/Code42Cate.png","language":"TypeScript","funding_links":[],"categories":["Boilerplates \u0026 Starters"],"sub_categories":[],"readme":"# Hackathon Starter\n\nThis is my hackathon starter template, based on this [awesome turborepo template](https://github.com/dan5py/turborepo-shadcn-ui). \n\nIt includes everything you need to get started in a single monorepo, including:\n\n- [Next.js](https://nextjs.org/) for the frontend\n- [Hono](https://hono.dev/) as lightweight backend\n- [shadcn/ui](https://ui.shadcn.com/) for the UI component library\n- [Prisma](https://www.prisma.io/) as ORM\n- [PostgreSQL](https://www.postgresql.org/) as database\n- [Docker](https://www.docker.com/) for containerization, with docker-compose watch for hot reloading\n- [TypeScript](https://www.typescriptlang.org/) for static type checking\n- [Livecycle](http://livecycle.io/) for instant sharing of your local development environment\n- And some more of the usual goodies such as prettier, eslint, etc.\n\n\u003e This is meant for hackathons, not for production apps! It's a great way to get started quickly, but you should probably not use it for anything serious.\n\n## Using this template\n\nClone the repository:\n\n```sh\ngit clone https://github.com/Code42Cate/hackathon-starter.git\n```\n\nRename `packages/database/.env.example` to `packages/database/.env`\n\nStart everything with docker-compose:\n\n```sh\ndocker-compose watch\n```\n\nPush database schema:\n\n```sh\npnpm turbo db:generate                             \n```\n\n### Add ui components\n\nUse the pre-made script:\n\n```sh\npnpm install # if you haven't already\npnpm ui:add \u003ccomponent-name\u003e\n```\n\n\u003e This works just like the add command in the `shadcn/ui` CLI.\n\n### Docker\n\nBoth the api (`api.Dockerfile`) and the web app (`web.Dockerfile`) are dockerized and managed by docker-compose (`docker-compose.yml`). You can start everything with:\n```sh\ndocker-compose watch\n```\nThis will start the api, the web app, and the database. It also enables hot reloading for both the api and the web app.\n\n### Database\n\nThe database is a Postgres database managed by Prisma. It is reachable through this connection: `postgres://postgres:postgres@localhost:5432/hackathon`.\n\n## What's inside?\n\nThis Turborepo includes the following packages/apps:\n\n### Apps and Packages\n\n- `web`: a [Next.js](https://nextjs.org/) app\n- `api`: a [Hono](https://hono.dev/) app\n- `database`: a stub Prisma library shared by both `web` and `api` apps\n- `ui`: a stub React component library powered by **shadcn/ui**\n- `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)\n- `tsconfig`: `tsconfig.json`s used throughout the monorepo\n\n\n## Credits\n\nThanks to [dan5py](https://github.com/dan5py/turborepo-shadcn-ui) who created the original template :)\n\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCode42Cate%2Fhackathon-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCode42Cate%2Fhackathon-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCode42Cate%2Fhackathon-starter/lists"}