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