Git Product home page Git Product logo

angular2-redux-example's Introduction

Circle CI

Angular 2/TypeScript/Redux/Webpack Example App

This is an example app built with Angular 2, Redux, and webpack. We use it internally as a teaching tool and platform for trying out architectural ideas.

It is maintained on an ad-hoc basis, your mileage may vary.

You can see it in action here: angular2-redux-example.herokuapp.com.

npm scripts

To see all available scripts:

$ npm run

Dev

$ npm run dev

This runs a development mode server with live reload etc. Linter warnings will be displayed with each reload.

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

Production

$ 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.

Tests

Single Run (with linting and coverage)

$ npm test
# or
$ npm t

Watch Files

$ npm run test:watch

Linting

$ npm run lint

This will run both code and style linters, but you can run them individually using npm run lint-ts and npm run lint-css.

Coverage

$ npm run cover

Connecting to remote APIs

Both the devmode and production servers provide a way to proxy requests to remote HTTP APIs. This can be useful for working around CORS issues when developing your software.

Edit this file to mount such APIs at a given path.

Improvements

This is an initial version of this setup and will be expanded in the future. Refer to the issues section to see what needs to be done, or create a new one.

License

Copyright (c) 2016 rangle.io

MIT License

angular2-redux-example's People

Contributors

alanthai avatar alber70g avatar brendanfdmoore avatar clbond avatar codebyuma avatar e-schultz avatar greenkeeperio-bot avatar jakxz avatar joehandlebar avatar mattmcfad avatar mdegani avatar nexus-uw avatar nikolasleblanc avatar phra avatar riavalon avatar rtbm avatar sethdavenport avatar sumitarora avatar troyt-42 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.