{"id":42421742,"url":"https://github.com/kir-dev/frt","last_synced_at":"2026-01-28T02:59:08.413Z","repository":{"id":284626108,"uuid":"955355535","full_name":"kir-dev/frt","owner":"kir-dev","description":"The new website for BME Formula Racing Team","archived":false,"fork":false,"pushed_at":"2025-12-02T07:41:10.000Z","size":2665,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T01:51:30.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://new.frtbme.hu","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-03-26T14:09:06.000Z","updated_at":"2025-12-02T07:41:13.000Z","dependencies_parsed_at":"2025-04-10T16:35:56.802Z","dependency_job_id":"c49ee2ee-e572-4aac-ac14-af4e3cd7831f","html_url":"https://github.com/kir-dev/frt","commit_stats":null,"previous_names":["kir-dev/frt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kir-dev/frt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Ffrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Ffrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Ffrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Ffrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kir-dev","download_url":"https://codeload.github.com/kir-dev/frt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Ffrt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28835630,"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":[],"created_at":"2026-01-28T02:59:07.587Z","updated_at":"2026-01-28T02:59:08.381Z","avatar_url":"https://github.com/kir-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FRT Website\n\nA modern website for the Formula Racing Team (FRT) to publish news, events, galleries, cars, publications, sponsors, and recruitment information. The site includes a CMS-backed content model and a public-facing Next.js application.\n\n## Tech Stack\n\n\u003cp\u003e\n  \u003ca href=\"https://nextjs.org/\" target=\"_blank\"\u003e\u003cimg alt=\"Next.js\" src=\"https://img.shields.io/badge/Next.js-000000?logo=nextdotjs\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://react.dev/\" target=\"_blank\"\u003e\u003cimg alt=\"React\" src=\"https://img.shields.io/badge/React-20232A?logo=react\u0026logoColor=61DAFB\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.typescriptlang.org/\" target=\"_blank\"\u003e\u003cimg alt=\"TypeScript\" src=\"https://img.shields.io/badge/TypeScript-3178C6?logo=typescript\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://tailwindcss.com/\" target=\"_blank\"\u003e\u003cimg alt=\"Tailwind CSS\" src=\"https://img.shields.io/badge/Tailwind_CSS-06B6D4?logo=tailwindcss\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://payloadcms.com/\" target=\"_blank\"\u003e\u003cimg alt=\"Payload CMS\" src=\"https://img.shields.io/badge/Payload_CMS-000000?logo=payloadcms\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.postgresql.org/\" target=\"_blank\"\u003e\u003cimg alt=\"PostgreSQL\" src=\"https://img.shields.io/badge/PostgreSQL-4169E1?logo=postgresql\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://fullcalendar.io/\" target=\"_blank\"\u003e\u003cimg alt=\"FullCalendar\" src=\"https://img.shields.io/badge/FullCalendar-3A3A3A?logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://lucide.dev/\" target=\"_blank\"\u003e\u003cimg alt=\"Lucide\" src=\"https://img.shields.io/badge/Lucide-18181B?logo=lucide\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://eslint.org/\" target=\"_blank\"\u003e\u003cimg alt=\"ESLint\" src=\"https://img.shields.io/badge/ESLint-4B32C3?logo=eslint\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.docker.com/\" target=\"_blank\"\u003e\u003cimg alt=\"Docker\" src=\"https://img.shields.io/badge/Docker-2496ED?logo=docker\u0026logoColor=white\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nTechnologies used: Next.js (App Router) with React 19, TypeScript, Tailwind CSS 4, Payload CMS 3, PostgreSQL, FullCalendar, Lucide icons, ESLint, and Docker/Compose.\n\n## Project Structure\n\n- `src/app/` — Public-facing Next.js routes (App Router)\n- `src/collections/` — Payload CMS collections (Articles, Events, Cars, Gallery, etc.)\n- `src/(payload)` — Payload admin integration\n- `src/components/` — UI components (cards, navbar, calendar, etc.)\n- `public/` — Static assets\n- `migrations/` — Database migrations (if/when used)\n\n## Prerequisites\n\n- Node.js 18+ (Node 20 LTS recommended)\n- Yarn 1.22+\n- Docker \u0026 Docker Compose\n\n## Environment Variables\n\nCreate a `.env` file in the project root. Minimum required:\n\n- `DATABASE_URI` — PostgreSQL connection string (e.g. `postgres://user:pass@localhost:5432/frt`)\n- `PAYLOAD_SECRET` — Random string used by Payload for session/signing\n\nOptional (only if you configure corresponding integrations):\n\n- S3-compatible storage: `S3_BUCKET`, `S3_ACCESS_KEY_ID`, `S3_SECRET_ACCESS_KEY`, `S3_REGION`, `S3_ENDPOINT`\n- Social APIs: `FACEBOOK_*`, `INSTAGRAM_*`, `TWITTER_*`, `YOUTUBE_*`\n\nNever commit secrets to version control.\n\n## Run Locally\n\nYou can run the project either fully in Docker (recommended for parity) or run the app locally with Postgres in Docker.\n\n### Option A — Everything with Docker Compose (quick start)\n\nThis will start Postgres and the app container on port 3000.\n\n```bash\n# Build and start services in the background\ndocker compose up -d --build\n\n# View logs (optional)\ndocker compose logs -f app\n```\n\nThen open:\n- App: http://localhost:3000\n- Payload Admin: http://localhost:3000/admin\n\n### Option B — Local app + Dockerized Postgres (developer workflow)\n\n```bash\n# 1) Start only the database\ndocker compose up -d postgres\n\n# 2) Install dependencies\nyarn install\n\n# 3) Start Next.js dev server (Turbopack)\nyarn dev\n```\n\nOpen http://localhost:3000. Admin is available at http://localhost:3000/admin.\n\n## Scripts\n\n- `yarn dev` — Run the development server\n- `yarn build` — Create an optimized production build\n- `yarn start` — Start the production server\n- `yarn lint` — Run ESLint\n\n## Deployment\n\nSince the project uses `push: false` for database schema management, you must run migrations manually after deploying new code.\n\n### Steps to Deploy\n\n1.  **Pull latest changes**:\n    ```bash\n    git pull origin main\n    ```\n\n2.  **Rebuild Docker containers**:\n    ```bash\n    docker compose up -d --build\n    ```\n\n3.  **Run Migrations**:\n    Execute the migration command inside the running container:\n    ```bash\n    docker exec frt-app-1 yarn payload:migrate\n    ```\n    *Note: You may be prompted to confirm the migration. You can auto-confirm with `echo y | docker exec -i frt-app-1 yarn payload:migrate`.*\n\n### Troubleshooting Migrations\n\nIf you encounter `ERR_UNKNOWN_FILE_EXTENSION` errors with CSS files, ensure you are using the custom loader scripts (`css-loader-register.mjs`) which are included in the Docker image and used by the `yarn payload:migrate` script.\n\n- Ensure Docker is running if you use Postgres via Compose.\n- On first run, Payload will initialize tables in the configured Postgres database.\n- If you change database credentials, update `DATABASE_URI` accordingly.\n- Static assets live under `public/`. Media uploaded via the CMS will be stored where your Payload storage is configured.\n\n## What this site includes\n\n- News/Articles, Events calendar, Galleries, Cars, Members, Publications, Sponsors, Association, Support Us, and Contact sections\n- CMS-driven content editing with Payload\n- Theming and reusable UI components\n\nIf you have questions or want to contribute, feel free to open an issue or PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkir-dev%2Ffrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkir-dev%2Ffrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkir-dev%2Ffrt/lists"}