Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 797 Bytes

README.md

File metadata and controls

76 lines (53 loc) · 797 Bytes

SSR Starter kit

Structure

.
├── build
│   ├── client    // client build files
│   └── index.js  // server build file
├── src
│   ├── client    // client source code
│   ├── server    // server source code
│   └── shared    // shared source code
├── tsconfig.json
└── webpack.config.js

Installation

npm ci

Development

For server

npm run dev:server

For client

npm run dev:client

For both

npm run dev

Production build

For server

npm run build:server

For client

npm run build:client

For both

npm run build

Start application in build folder

npm start

Deployement

Deploy application to your Now space

npm run deploy