{"id":19580502,"url":"https://github.com/vinpac/next-typescript-storybook-jest-server","last_synced_at":"2026-05-15T09:38:53.737Z","repository":{"id":90021410,"uuid":"141865017","full_name":"vinpac/next-typescript-storybook-jest-server","owner":"vinpac","description":"Custom next.js server with full typescript type checking, Storybook with component props from types and jest implementation","archived":false,"fork":false,"pushed_at":"2018-07-22T04:31:55.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T05:18:04.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/vinpac.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":"2018-07-22T04:12:36.000Z","updated_at":"2018-07-22T04:31:56.000Z","dependencies_parsed_at":"2023-05-31T01:45:56.130Z","dependency_job_id":null,"html_url":"https://github.com/vinpac/next-typescript-storybook-jest-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinpac%2Fnext-typescript-storybook-jest-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinpac%2Fnext-typescript-storybook-jest-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinpac%2Fnext-typescript-storybook-jest-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinpac%2Fnext-typescript-storybook-jest-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinpac","download_url":"https://codeload.github.com/vinpac/next-typescript-storybook-jest-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240849053,"owners_count":19867617,"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-11-11T07:27:00.899Z","updated_at":"2026-05-15T09:38:48.702Z","avatar_url":"https://github.com/vinpac.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/custom-server-typescript)\n\n# Custom server with TypeScript + Nodemon example\n\n## How to use\n\n### Using `create-next-app`\n\nExecute [`create-next-app`](https://github.com/segmentio/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example:\n\n```bash\nnpx create-next-app --example custom-server-typescript custom-server-typescript-app\n# or\nyarn create next-app --example custom-server-typescript custom-server-typescript-app\n```\n\n### Download manually\n\nDownload the example [or clone the repo](https://github.com/zeit/next.js):\n\n```bash\ncurl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/custom-server-typescript\ncd custom-server-typescript\n```\n\nInstall it and run:\n\n```bash\nnpm install\nnpm run dev\n# or\nyarn\nyarn dev\n```\n\nDeploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))\n\n```bash\nnow\n```\n\n## The idea behind the example\n\nThe example shows how you can use [TypeScript](https://typescriptlang.com) on both the server and the client while using [Nodemon](https://nodemon.io/) to live reload the server code without affecting the Next.js universal code.\nServer entry point is `server/index.ts` in development and `production-server/index.js` in production.\nThe second directory should be added to `.gitignore`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinpac%2Fnext-typescript-storybook-jest-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinpac%2Fnext-typescript-storybook-jest-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinpac%2Fnext-typescript-storybook-jest-server/lists"}