Skip to content

qlqllu/typescript-react-redux-example

 
 

Repository files navigation

TypeScript/React/Redux Starter

This is the initial version of our starter project using React, TypeScript and Webpack to tie it all together.

npm scripts

Set up

$ npm install

$ cd client
$ npm install

$ cd ../server
$ npm install

Dev

client

$ cd client
$ npm run server:dev

Open http://localhost:8080 in your browser.

server

$ cd server
$ npm run server:dev

Open http://localhost:3000 in your browser.

Tests

Client tests

Single Run
$ cd client
$ npm run test
Watch Files
$ cd client
$ npm run test:watch
Coverage (TODO)
$ cd client
$ npm run cover

Server tests

Production

Run npm Scripts

npm install
npm start

This runs a production-ready express server that serves up a bundled and minified version of the client.

Open http://localhost:8080 in your browser.

License

Copyright (c) 2016 rangle.io

MIT License

About

Typescript, React, Redux, Webpack starter kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • RobotFramework 41.7%
  • TypeScript 21.8%
  • Shell 13.9%
  • JavaScript 11.8%
  • Python 10.1%
  • HTML 0.6%
  • CSS 0.1%