{"id":16056118,"url":"https://github.com/ryichk/nextjs-boilerplate","last_synced_at":"2026-04-07T07:34:14.764Z","repository":{"id":46176068,"uuid":"425442339","full_name":"ryichk/nextjs-boilerplate","owner":"ryichk","description":"Boilerplate for building web apps with Next.js TypeScript","archived":false,"fork":false,"pushed_at":"2024-08-10T21:18:26.000Z","size":529,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-28T06:10:52.221Z","etag":null,"topics":["amplify","aws","docker","eslint","jest","nextjs","prettier","react","storybook","tailwindcss","typescript"],"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/ryichk.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":"2021-11-07T07:42:43.000Z","updated_at":"2023-11-12T14:15:24.000Z","dependencies_parsed_at":"2024-10-30T23:40:32.678Z","dependency_job_id":null,"html_url":"https://github.com/ryichk/nextjs-boilerplate","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/ryichk/nextjs-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Fnextjs-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Fnextjs-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Fnextjs-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Fnextjs-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryichk","download_url":"https://codeload.github.com/ryichk/nextjs-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Fnextjs-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["amplify","aws","docker","eslint","jest","nextjs","prettier","react","storybook","tailwindcss","typescript"],"created_at":"2024-10-09T02:40:32.023Z","updated_at":"2026-04-07T07:34:14.734Z","avatar_url":"https://github.com/ryichk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Boilerplate\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## Features\n\n- 🎉 [Next.js](https://nextjs.org/) for Static Site Generator\n\n- 🔧 Type checking [TypeScript](https://www.typescriptlang.org/)\n\n- 💚 Integrate with [TailwindCSS](https://tailwindcss.com/)\n\n- ✨ Code Formatter with [Prettier](https://prettier.io/)\n\n- 🚨 Linter with [ESLint](https://eslint.org/)\n\n- ✅ Testing with [Jest](https://jestjs.io/)\n\n- 🎨 Build a design system with [Storybook](https://storybook.js.org/)\n\n- 🚀 Deploy with [AWS Amplify](https://docs.amplify.aws/guides/hosting/nextjs/q/platform/js/)\n\n## Requirements\n\n- [Docker Desktop](https://www.docker.com/get-started)\n\n## Getting Started\n\n### Rename project\n\nGrep all files in the project with `nextjs-boilerplate` and replace them with the project name of your choice.\n\n### Run the development server\n\n```sh\ndocker-compose build\ndocker-compose up\n```\n\n- Next.js App: [http://localhost:3000](http://localhost:3000)\n\n- Storybook: [http://localhost:6006](http://localhost:6006)\n\n## Development\n\nYou can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\n### Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n### Format the code\n\n```sh\ndocker-compose exec app yarn format\n```\n\n### Linting\n\n```sh\ndocker-compose exec app yarn lint\n```\n\n### Testing\n\n```sh\ndocker-compose exec app yarn test\n```\n\n## Deploy to AWS Amplify\n\n### Prerequisites\n\n```sh\nnpm install -g @aws-amplify/cli\n```\n\n```sh\namplify configure\n```\n\n### Deploy and host a hybrid app (SSG and SSR)\n\nInitialize a new Amplify project.\n\n```sh\n$ amplify init\n\n? Enter a name for the project: # \u003cyour app name\u003e\n? Enter a name for the environment: # dev\n? Choose your default editor: # Visual Studio Code (or your preferred editor)\n? Choose the type of app that youre building: # javascript\n? What javascript framework are you using: # react\n? Source Directory Path: # src\n? Distribution Directory Path: # .next\n? Build Command: # npm run-script build\n? Start Command: # npm run-script start\n? Select the authentication method you want to use: # AWS profile\n? Please choose the profile you want to use: # \u003cyour profile\u003e\n```\n\nAdd hosting with Amplify `add` command:\n\n```sh\n$ amplify add hosting\n\n? Select the plugin module to execute: # Hosting with Amplify Console\n? Choose a type: # Manual deployment\n```\n\nThe Amplify Console opens and displays your deployed backend environment.\n\nChoose the Frontend environments tab, select your Git provider, then choose Connect Branch.\n\nFollow the steps in the Amplify console to choose the branch to connect, and deploy your app.\n\nAfter your site is successfully deployed, you'll see green checkmarks.\n\nTo view the live site, click on the automatically generated URL.\n\n### Deleting the App\n\nTo delete the app and the deployment, run the `delete` command:\n\n```sh\namplify delete\n```\n\n[Deploy and host a hybrid app (SSG and SSR)](https://docs.amplify.aws/guides/hosting/nextjs/q/platform/js/#deploy-and-host-a-hybrid-app-ssg-and-ssr)\n\n## License\n\nLicensed under the MIT License, Copyright © 2021-present ryichk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryichk%2Fnextjs-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryichk%2Fnextjs-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryichk%2Fnextjs-boilerplate/lists"}