Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 585 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 585 Bytes

Custom server with TypeScript + Nodemon example

How to use

Install it and run:

npm install --save -g
npm install
npm run dev
# or
yarn
yarn dev

The idea behind the 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/index.ts in development and production-server/index.js in production. The second directory should be added to .gitignore.