{"id":18614840,"url":"https://github.com/andrewjbateman/react-next-api","last_synced_at":"2026-04-13T20:03:09.036Z","repository":{"id":40952603,"uuid":"159006248","full_name":"AndrewJBateman/react-next-api","owner":"AndrewJBateman","description":":clipboard: App in React.js with next.js that gets cryptocurrency price data and displays it. ","archived":false,"fork":false,"pushed_at":"2023-01-04T21:39:30.000Z","size":3627,"stargazers_count":1,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T01:34:26.989Z","etag":null,"topics":["api","css","fetch","html","nextjs","react","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/AndrewJBateman.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}},"created_at":"2018-11-25T06:56:16.000Z","updated_at":"2022-04-09T13:52:40.000Z","dependencies_parsed_at":"2023-02-02T21:00:41.489Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/react-next-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/react-next-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Freact-next-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Freact-next-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Freact-next-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Freact-next-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/react-next-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Freact-next-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["api","css","fetch","html","nextjs","react","visual-studio-code"],"created_at":"2024-11-07T03:27:11.270Z","updated_at":"2026-04-13T20:03:09.012Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: React Next API\n\n* Creates a Bitcoin currency price api app using React and Next.js. npm dependencies updated.\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/react-next-api?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/react-next-api?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/react-next-api?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/react-next-api?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [General info](#general-info)\n* [Screenshots](#screenshots)\n* [Technologies](#technologies)\n* [Setup](#setup)\n* [Features](#features)\n* [Status](#status)\n* [Inspiration](#inspiration)\n* [Contact](#contact)\n\n## :books: General info\n\n* Lists prices of cryptocurrencies, depending on setup of API http request.\n* Next.js is for server-rendered react apps. It has automatic code splitting, simple page-based routing, built-in CSS support and hot reloading.\n\n## :camera: Screenshots\n\n![Example screenshot](./img/API-data.png).\n\n## :signal_strength: Technologies\n\n* [Node.js v12](https://nodejs.org/) javascript runtime using the [Chrome V8 engine](https://v8.dev/).\n* [React v16](https://reactjs.org/) Javascript library.\n* [Next v9](https://nextjs.org/) minimalist framework for rendering react apps on the server.\n\n## :floppy_disk: Setup\n\n* `npm run dev` runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n* `npm run build` Builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\n\n## :computer: Code Examples\n\n* extract of `index.js` - function to get API data.\n\n```javascript\n\n// async await function to get crypto currency prices - no API key required.\nIndex.getInitialProps = async function() {\n  const res = await fetch\n  ('https://api.coindesk.com/v1/bpi/currentprice.json');\n    const data = await res.json();\n\n  return {\n    bpi: data.bpi\n  };\n}\n\n```\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working.\n* To-Do: nothing.\n\n## :clap: Inspiration\n\n* [Traversy Media: Next.js Crash Course - Server Side React](https://www.youtube.com/watch?v=IkOVe40Sy0U\u0026t=1s)\n* [CoinDesk Bitcoin Price Index API](https://www.coindesk.com/api)\n\n## :file_folder: License\n\n* N/A\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Freact-next-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Freact-next-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Freact-next-api/lists"}