{"id":21215262,"url":"https://github.com/pyrrolizin/nextjs-api-request","last_synced_at":"2026-04-19T15:01:51.986Z","repository":{"id":114329653,"uuid":"531577885","full_name":"pyrrolizin/nextjs-api-request","owner":"pyrrolizin","description":"Starting platform for a Next.js project that pulls data from an external API and caches the result. (includes responsive TSX template with Bootstrap 5)","archived":false,"fork":false,"pushed_at":"2022-09-08T11:32:29.000Z","size":75429,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T23:07:23.883Z","etag":null,"topics":["api","cache","memory-cache","next-js","nextjs","openweathermap-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyrrolizin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-09-01T15:26:46.000Z","updated_at":"2024-09-23T14:13:41.000Z","dependencies_parsed_at":"2023-04-13T13:48:23.715Z","dependency_job_id":null,"html_url":"https://github.com/pyrrolizin/nextjs-api-request","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyrrolizin/nextjs-api-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fnextjs-api-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fnextjs-api-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fnextjs-api-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fnextjs-api-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrrolizin","download_url":"https://codeload.github.com/pyrrolizin/nextjs-api-request/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrrolizin%2Fnextjs-api-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["api","cache","memory-cache","next-js","nextjs","openweathermap-api"],"created_at":"2024-11-20T21:35:43.114Z","updated_at":"2026-04-19T15:01:51.963Z","avatar_url":"https://github.com/pyrrolizin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to Nextjs-api-request 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-0.1-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003ca href=\"https://github.com/pyrrolizin/nextjs-api-request/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-green.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n\u003eThis project is a starting platform for a Next.js project that pulls data from an external API and caches the result. \n\u003eThe project includes a responsive Bootstrap 5 template.\n\u003e\n\u003eThe Project uses yarn zero install (Plug'n'Play)\n\n## 🏠 [Homepage](https://github.com/pyrrolizin/nextjs-api-request)\n\n## ✨ Demo (OpenWeatherMap-Api - Current weather in Stuttgart, Germany)\n\ntbd\n\n![screenshot of the demo application](screenshot.png)\n\n## Prerequisit\n\n* Node.js \u003e= 16\n* Yarn \u003e 3\n\n## Install\n\nYarn installs the suitable swc binary for `@next/swc`.\n\n```sh\nyarn\n```\n\n### Environment varaibles\n\nYou can set the following environment variables:\n\n| NAME        |  *required*  |  Comment  |\n| ----------- | ------------ | --------- |\n| `API_KEY`   | **yes**      |  You can get your own free OpenWeatherApi key on this website: https://home.openweathermap.org/users/sign_up  |\n\nYou can either set the environment variables or use the `.env.local` file:\nMake your own copy of the `.env.local` file and specify the `.env.local` and add the keys. \n\n```sh\ncp ./.env.local_default ./.env.local\n```\n\nLearn more about the OpenWeatherMap API: https://openweathermap.org/api\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrrolizin%2Fnextjs-api-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyrrolizin%2Fnextjs-api-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrrolizin%2Fnextjs-api-request/lists"}