A starter kit for developing projects using:
- React (16.3.2)
- create-react-app
- TypeScript (2.8.3)
- react-scripts-ts (2.16.0)
- mobx (5.0.2)
- sass compilation (node-sass)
- react-md (1.4.0) - Integrated Material Design
- Client SPA with navigation
- Node.JS
- AAD Authentication
- Clinet-Server API
- Production ready build
This starter kit was tested on Windows Ubuntu Bash.
Dev:
npm run install:dev
Production:
npm install
Dev:
npm run start:dev
Production:
npm start
npm run build
For this sample to run in production you'll need:
- To build the solution using
npm run build
- 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:
- Build in dev (or other pre-prod) environment, check-in the
./build
folder - Build in production - this will require running
npm run install:dev
and is not advisable