{"id":15714486,"url":"https://github.com/shubhrajps/levels-fyi-countries","last_synced_at":"2026-04-05T22:01:35.580Z","repository":{"id":256191889,"uuid":"854535562","full_name":"shubhrajps/levels-fyi-countries","owner":"shubhrajps","description":"A Nest.js app for fetching data from restcountries.com and searching through it to display the countries and details in a card design.","archived":false,"fork":false,"pushed_at":"2024-09-13T18:42:37.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T19:46:58.134Z","etag":null,"topics":["countries","jest","nextjs","reactjs","tailwindcss","testing","typescript"],"latest_commit_sha":null,"homepage":"https://levels-fyi-countries.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/shubhrajps.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}},"created_at":"2024-09-09T10:56:47.000Z","updated_at":"2024-09-13T18:42:42.000Z","dependencies_parsed_at":"2024-10-24T11:59:07.215Z","dependency_job_id":"a324a670-9c57-4a54-889d-af9c405db0b1","html_url":"https://github.com/shubhrajps/levels-fyi-countries","commit_stats":null,"previous_names":["shubhrajps/levels-fyi-countries"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shubhrajps/levels-fyi-countries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhrajps%2Flevels-fyi-countries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhrajps%2Flevels-fyi-countries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhrajps%2Flevels-fyi-countries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhrajps%2Flevels-fyi-countries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhrajps","download_url":"https://codeload.github.com/shubhrajps/levels-fyi-countries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhrajps%2Flevels-fyi-countries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":["countries","jest","nextjs","reactjs","tailwindcss","testing","typescript"],"created_at":"2024-10-03T21:37:35.054Z","updated_at":"2026-04-05T22:01:35.273Z","avatar_url":"https://github.com/shubhrajps.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Countries Project\n\nThe Countries Project is a Next.js application that allows users to explore information about various countries around the world. It features a user-friendly interface for browsing country details, including flags, capitals, populations, and more.\n\n## Features\n\n- Display a grid of countries with their flags and basic information\n- Allow users to click on a country to view detailed information\n- Support for searching countries by name\n- Responsive design that adapts to different screen sizes\n- API route for fetching country data from a REST API\n- Lazy loading of images for improved performance\n- Skeleton loading screens while data is being fetched\n- Unit tests for components using Jest and React Testing Library\n- CI/CD pipeline for automated testing and deployment\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (version 16 or higher)\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/countries-project.git\n\n\n2. Navigate to the project directory:\n\n```bash\ncd countries-project\n```\n\n3. Install the dependencies\n```bash\nnpm install\n```\n\n4. Run the development server\n```bash\nnpm run dev\n```\n\n5. Run the tests\n```bash\nnpm test\n```\n\n### Assumptions\n1. **Availability of Country Data:** \nThe project assumes that the country data will be available and accessible from the API endpoint without any downtime. It is expected that the data source for countries will remain stable and that there will be no significant changes to the API structure.\n\n2. **Performance Expectations:**\nThe project assumes that users will have a reliable internet connection when accessing the application. The performance of the country loading and transitions is optimized for average network conditions, but users on slower connections may experience delays.\n\n### Built With\n- **Next.js** - React framework for building server-rendered applications\n- **React** - JavaScript library for building user interfaces\n- **Tailwind CSS** - Utility-first CSS framework for styling\n- **Jest** - JavaScript testing framework\n- **React Testing Library** - Library for testing React components","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhrajps%2Flevels-fyi-countries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhrajps%2Flevels-fyi-countries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhrajps%2Flevels-fyi-countries/lists"}