{"id":15732351,"url":"https://github.com/stopsopa/next.js-research","last_synced_at":"2025-10-25T21:14:48.038Z","repository":{"id":84269241,"uuid":"377978645","full_name":"stopsopa/next.js-research","owner":"stopsopa","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-29T09:43:31.000Z","size":10644,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T03:28:23.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/stopsopa.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":"2021-06-17T22:54:07.000Z","updated_at":"2021-07-29T09:43:33.000Z","dependencies_parsed_at":"2023-05-24T05:00:36.059Z","dependency_job_id":null,"html_url":"https://github.com/stopsopa/next.js-research","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stopsopa/next.js-research","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fnext.js-research","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fnext.js-research/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fnext.js-research/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fnext.js-research/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stopsopa","download_url":"https://codeload.github.com/stopsopa/next.js-research/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Fnext.js-research/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261734867,"owners_count":23201904,"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","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":"2024-10-04T00:09:03.251Z","updated_at":"2025-10-25T21:14:47.963Z","avatar_url":"https://github.com/stopsopa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deploy with docker\n\nhttps://nextjs.org/docs/deployment#docker-image\n\n# data fetching\ngetStaticProps (Static Generation)\nhttps://nextjs.org/docs/basic-features/data-fetching\n\n# testing what is stripped\nhttps://next-code-elimination.vercel.app\n\nfrom: https://nextjs.org/docs/basic-features/data-fetching#write-server-side-code-directly\n\n# This demo features\n## yaml based fake api\n\nRun in console\n```js\nvar r = await fetch('/api/yaml/abc'); console.log(JSON.stringify(await r.json(), null, 4))\n```\n\n# typescript\n- https://nextjs.org/docs/basic-features/data-fetching#typescript-use-getstaticpaths\n- https://nextjs.org/docs/basic-features/data-fetching#typescript-use-getserversideprops\n\n# passHref\nhttps://nextjs.org/docs/api-reference/next/link#if-the-child-is-a-function-component\n\n# styled-jsx\n\nhttps://github.com/vercel/styled-jsx\n\n# getInitialProps\nhttps://www.datocms.com/blog/how-the-new-next-js-9-3-preview-mode-works\n\n# tips\n\nYou cannot use getStaticPaths [with](https://nextjs.org/docs/basic-features/data-fetching#technical-details-1) getServerSideProps.\n\n# todo\n- check if preprocessor needed: https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser\n    - it is checked - preprocessor needed\n- remember me checkbox - login form","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopsopa%2Fnext.js-research","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstopsopa%2Fnext.js-research","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopsopa%2Fnext.js-research/lists"}