Skip to content

A starter kit for developing projects using React, TypeScript, Node.js and production ready build

License

Notifications You must be signed in to change notification settings

morsh/react-client-server-starter

Repository files navigation

React Client Server Starter

A starter kit for developing projects using:

This starter kit was tested on Windows Ubuntu Bash.

Install

Dev:

npm run install:dev

Production:

npm install

Run

Dev:

npm run start:dev

Production:

npm start

Build

npm run build

Production

For this sample to run in production you'll need:

  1. To build the solution using npm run build
  2. To run npm start to start the server (The client is only used during development and testing)

To do that you'll have to take one of the following appoaches:

  1. Build in dev (or other pre-prod) environment, check-in the ./build folder
  2. Build in production - this will require running npm run install:dev and is not advisable