/nextjs-express-ts

Next.js custom server with Express and TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

Next.js custom server with Express and TypeScript

by Dave Templin

To clone and install from a command prompt...

$ git clone https://github.com/davetemplin/nextjs-express-ts.git
$ cd nextjs-express-ts
$ npm install

To build and run...

$ npm run-script build
$ node bin

Or simply open the project in vscode and hit ctrl+shift+b followed by F5.

To refresh dependencies...

npm install body-parser compression cookie-parser express next react react-dom typescript ts-node nodemon @zeit/next-typescript @types/body-parser @types/compression @types/cookie-parser @types/express @types/next @types/react