Gavin McDonald 6856660fa0 simple logging
2025-04-21 17:24:16 -04:00
2025-04-19 17:50:28 -04:00
2025-04-19 12:57:31 -04:00
2025-04-19 12:57:31 -04:00
2025-04-21 17:24:16 -04:00
2025-04-18 14:16:31 -04:00
2025-04-21 17:24:16 -04:00
2025-04-18 14:16:31 -04:00
2025-04-18 15:52:35 -04:00
2025-04-09 09:13:53 -04:00
2025-04-12 15:17:02 -04:00
2025-04-12 15:17:02 -04:00
2025-04-21 08:57:28 -04:00
2025-04-19 12:57:31 -04:00
2025-04-21 08:57:28 -04:00
2025-04-09 11:06:23 -04:00
2025-04-09 09:13:53 -04:00
2025-04-21 16:13:30 -04:00
2025-04-09 10:58:46 -04:00
2025-04-19 16:02:31 -04:00

Custom server with TypeScript + Nodemon example

The example shows how you can use TypeScript on both the server and the client while using Nodemon to live reload the server code without affecting the Next.js universal code.

Server entry point is server.ts in development and dist/server.js in production. The dist directory should be added to .gitignore.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example custom-server custom-server-app
yarn create next-app --example custom-server custom-server-app
pnpm create next-app --example custom-server custom-server-app
Description
Tarokka from D&D's Curse of Strahd
Readme 43 MiB
Languages
TypeScript 98.2%
CSS 1%
JavaScript 0.6%
Dockerfile 0.2%