{"id":23425412,"url":"https://github.com/denolfe/payload-esm-custom-server","last_synced_at":"2025-04-09T11:45:43.389Z","repository":{"id":269339843,"uuid":"907098262","full_name":"denolfe/payload-esm-custom-server","owner":"denolfe","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-22T20:32:20.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T05:44:16.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/denolfe.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":"2024-12-22T19:59:24.000Z","updated_at":"2024-12-22T20:32:23.000Z","dependencies_parsed_at":"2024-12-22T21:29:45.730Z","dependency_job_id":"74f2524a-b7a2-4e5a-b423-3c38bd8a3454","html_url":"https://github.com/denolfe/payload-esm-custom-server","commit_stats":null,"previous_names":["denolfe/payload-esm-custom-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denolfe%2Fpayload-esm-custom-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denolfe%2Fpayload-esm-custom-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denolfe%2Fpayload-esm-custom-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denolfe%2Fpayload-esm-custom-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denolfe","download_url":"https://codeload.github.com/denolfe/payload-esm-custom-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248034261,"owners_count":21036958,"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-12-23T05:12:19.345Z","updated_at":"2025-04-09T11:45:43.372Z","avatar_url":"https://github.com/denolfe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom server with TypeScript + Nodemon 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.\n\nServer entry point is `server.ts` in development and `dist/server.js` in production.\nThe `dist` directory should be added to `.gitignore`.\n\n## Deploy your own\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/custom-server)\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/custom-server)\n\n## How to use\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:\n\n```bash\nnpx create-next-app --example custom-server custom-server-app\n# or\nyarn create next-app --example custom-server custom-server-app\n# or\npnpm create next-app --example custom-server custom-server-app\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenolfe%2Fpayload-esm-custom-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenolfe%2Fpayload-esm-custom-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenolfe%2Fpayload-esm-custom-server/lists"}