{"id":23647846,"url":"https://github.com/talhajamal02/next-js-class-assignment-07","last_synced_at":"2026-04-12T07:38:50.788Z","repository":{"id":269071376,"uuid":"906331918","full_name":"TalhaJamal02/Next-JS-Class-Assignment-07","owner":"TalhaJamal02","description":"This project demonstrates both client-side and server-side data fetching in a React application. It showcases how to fetch and display data dynamically from an external API in two different ways: fetching data on the client-side and fetching data on the server-side.","archived":false,"fork":false,"pushed_at":"2024-12-21T15:43:25.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T22:11:45.443Z","etag":null,"topics":["apiintegration","nextjs","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://class-assignment-07-talha.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/TalhaJamal02.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-12-20T16:56:56.000Z","updated_at":"2025-03-08T18:42:28.000Z","dependencies_parsed_at":"2024-12-20T18:23:54.825Z","dependency_job_id":"9dbba08d-6060-421d-839d-aaf1764d253a","html_url":"https://github.com/TalhaJamal02/Next-JS-Class-Assignment-07","commit_stats":null,"previous_names":["talhajamal02/next-js-class-assignment-07"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TalhaJamal02/Next-JS-Class-Assignment-07","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalhaJamal02%2FNext-JS-Class-Assignment-07","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalhaJamal02%2FNext-JS-Class-Assignment-07/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalhaJamal02%2FNext-JS-Class-Assignment-07/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalhaJamal02%2FNext-JS-Class-Assignment-07/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TalhaJamal02","download_url":"https://codeload.github.com/TalhaJamal02/Next-JS-Class-Assignment-07/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalhaJamal02%2FNext-JS-Class-Assignment-07/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31707953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["apiintegration","nextjs","tailwindcss","typescript"],"created_at":"2024-12-28T14:48:59.763Z","updated_at":"2026-04-12T07:38:50.737Z","avatar_url":"https://github.com/TalhaJamal02.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Client \u0026 Server-Side Data Fetching\nThis project demonstrates both client-side and server-side data fetching in a React application. It showcases how to fetch and display data dynamically from an external API in two different ways: fetching data on the client-side and fetching data on the server-side. The application fetches a list of books from a public API and displays them in an appealing card layout, featuring details such as name, type, availability, and position.\n\n## Features:\n- **Responsive Design**: The layout is fully responsive and adjusts to different screen sizes, providing an optimal experience across mobile, tablet, and desktop devices.\n ### Dynamic Data Fetching:\n- **Server-side fetching**: Data is fetched on the server when the page loads, ensuring fresh content.\n- **Client-side fetching**: Data is fetched on the client after the initial page load for a smoother user experience.\n- **Interactive UI**: Cards are styled with hover effects and icons to improve user interaction.\n\n## Key Technologies:\n- **React**: For building the user interface.\n- **Tailwind CSS**: A utility-first CSS framework for rapid UI development.\n### API Fetching:\n- Client-side fetching with **useEffect** and **fetch()** for real-time data updates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalhajamal02%2Fnext-js-class-assignment-07","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalhajamal02%2Fnext-js-class-assignment-07","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalhajamal02%2Fnext-js-class-assignment-07/lists"}