{"id":42421730,"url":"https://github.com/kir-dev/ehk","last_synced_at":"2026-01-28T02:59:04.458Z","repository":{"id":300595962,"uuid":"1003646167","full_name":"kir-dev/ehk","owner":"kir-dev","description":"Az EHK weboldalának újradolgozása.","archived":false,"fork":false,"pushed_at":"2026-01-23T13:59:06.000Z","size":5795,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-24T01:32:30.467Z","etag":null,"topics":["payload","react"],"latest_commit_sha":null,"homepage":"https://ehk.kir-dev.vercel.app","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/kir-dev.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":"2025-06-17T13:05:48.000Z","updated_at":"2026-01-11T12:25:38.000Z","dependencies_parsed_at":"2025-08-23T14:02:10.561Z","dependency_job_id":"07aaf9d6-b869-4d60-99a3-3813fb6ec282","html_url":"https://github.com/kir-dev/ehk","commit_stats":null,"previous_names":["kir-dev/ehk"],"tags_count":0,"template":false,"template_full_name":"kir-dev/next-payload-template","purl":"pkg:github/kir-dev/ehk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fehk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fehk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fehk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fehk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kir-dev","download_url":"https://codeload.github.com/kir-dev/ehk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fehk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28835625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"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":["payload","react"],"created_at":"2026-01-28T02:59:03.822Z","updated_at":"2026-01-28T02:59:04.452Z","avatar_url":"https://github.com/kir-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Project Setup Guide\n\nThis guide will help you set up the project locally.\n\n### Prerequisites\n\nEnsure you have the following installed on your machine:\n- Node.js (v16 or higher)\n- Yarn (v1.22.22 or higher)\n- Docker\n\n### Installation Steps\n\n1. **Clone the repository:**\n   ```sh\n   git clone \u003crepository-url\u003e\n   ```\n\n2. **Install dependencies:**\n   ```sh\n   yarn install\n   ```\n\n3. **Set up environment variables:**\n    - Copy the `.env.example` file to `.env`:\n\n    - Update the `.env` file with your specific values if necessary.\n\n4. **Start the PostgreSQL database using Docker:**\n   ```sh\n   docker-compose up -d\n   ```\n\n5. **Run the development server:**\n   ```sh\n   yarn dev\n   ```\n\n### Additional Commands\n\n- **Build the project:**\n  ```sh\n  yarn build\n  ```\n\n- **Start the production server:**\n  ```sh\n  yarn start\n  ```\n\n- **Lint the project:**\n  ```sh\n  yarn lint\n  ```\n\n### Migrations (Payload + Postgres)\n\nThis project uses Payload's migrate CLI wired to the Postgres adapter. Migration files live in `./src/migrations` and are indexed by `./src/migrations/index.ts`.\n\nCommon tasks:\n\n- Create a new migration (auto-generates a timestamped file):\n  ```sh\n  yarn migrate:create \u003cname\u003e\n  # example\n  yarn migrate:create add_regulations_file_eng\n  ```\n  Options:\n  - `--skip-empty` to avoid creating an empty migration when nothing changed\n\n- Apply pending migrations (up):\n  ```sh\n  yarn migrate\n  ```\n\n- Show migration status:\n  ```sh\n  yarn migrate:status\n  ```\n\n- Roll back the last batch:\n  ```sh\n  yarn migrate:down\n  ```\n\n- Reset/refresh (use with care):\n  ```sh\n  yarn migrate:reset     # run all downs\n  yarn migrate:refresh   # run downs then ups\n  yarn migrate:fresh     # drops DB and runs ups (requires --yes already in script)\n  ```\n\nTypical workflow:\n1) Modify your Payload collections/config.\n2) Generate a migration: `yarn migrate:create meaningful_name`.\n3) Review the generated file in `src/migrations/` (it uses Postgres SQL via `db.execute(sql\\`...\\`)`).\n4) Run `yarn migrate` to apply.\n\nNotes:\n- The CLI auto-updates `src/migrations/index.ts`. Avoid manual edits unless you know what you're doing.\n- Ensure database env vars (e.g., `DATABASE_URL`) are set. For `migrate:create`, Payload initializes without DB connect; for running migrations, DB must be reachable.\n- Scripts are available in `package.json` under `scripts`.\n\n### Notes\n\n- Ensure Docker is running before starting the development server.\n- The database connection string and other secrets are managed in the `.env` file.\n- The project uses Tailwind CSS for styling and Payload CMS for content management.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkir-dev%2Fehk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkir-dev%2Fehk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkir-dev%2Fehk/lists"}