{"id":30904535,"url":"https://github.com/ore-codes/news-hub-fe","last_synced_at":"2025-09-09T09:34:27.882Z","repository":{"id":303009023,"uuid":"1013892803","full_name":"ore-codes/news-hub-fe","owner":"ore-codes","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-05T05:37:04.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-05T06:29:52.969Z","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/ore-codes.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-07-04T16:37:09.000Z","updated_at":"2025-07-05T05:37:07.000Z","dependencies_parsed_at":"2025-07-05T06:39:59.727Z","dependency_job_id":null,"html_url":"https://github.com/ore-codes/news-hub-fe","commit_stats":null,"previous_names":["ore-codes/news-hub-fe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ore-codes/news-hub-fe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ore-codes%2Fnews-hub-fe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ore-codes%2Fnews-hub-fe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ore-codes%2Fnews-hub-fe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ore-codes%2Fnews-hub-fe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ore-codes","download_url":"https://codeload.github.com/ore-codes/news-hub-fe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ore-codes%2Fnews-hub-fe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274275228,"owners_count":25254903,"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-09-09T02:00:10.223Z","response_time":80,"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-09-09T09:34:23.995Z","updated_at":"2025-09-09T09:34:27.871Z","avatar_url":"https://github.com/ore-codes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# News Hub Frontend\n\nThis is a Next.js frontend for the News Hub project. It is fully containerized using Docker Compose for easy local development and deployment.\n\n## Prerequisites\n\n- [Docker](https://www.docker.com/get-started) and [Docker Compose](https://docs.docker.com/compose/) installed\n- [Git](https://git-scm.com/) for cloning the repository\n\n## Quick Start\n\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/ore-codes/news-hub-fe.git\n   cd news-hub-fe\n   ```\n\n2. **Copy the example environment file and edit as needed:**\n   ```sh\n   cp .env.local.example .env.local\n   # Edit .env.local if necessary\n   ```\n\n3. **Build and start app:**\n   ```sh\n   docker compose up --build -d\n   ```\n   Or if you have npm installed, you can run\n   ```sh\n   npm run docker:prod\n   ```\n   This will build the Next.js and nginx containers with production settings.\n\n4. **For hot reloading**\n   ```sh\n   docker-compose -f docker-compose.dev.yml up --build -d\n   ```\n   Or if you have npm installed, you can run\n   ```sh\n   npm run docker:dev\n   ```\n   This will build the Next.js and nginx containers with development settings.\n\n5. **Access the application:**\n   - Prod: [http://localhost:3000](http://localhost:3000)\n   - Dev: [http://localhost:5173](http://localhost:5173)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fore-codes%2Fnews-hub-fe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fore-codes%2Fnews-hub-fe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fore-codes%2Fnews-hub-fe/lists"}