Code Monkey home page Code Monkey logo

angutype's Introduction

Minimal changes to https://github.com/AngularClass/angular2-webpack-starter so that I can more easily keep up with new releases. Using Stylus/Rupture and Pug instead of CSS and HTML.
http://stylus-lang.com/ https://github.com/jescalan/rupture https://github.com/pugjs/pug/

So far I have done 01-12 of chapter 7, chapter 8 "product' client/server, and chapter 8 "product' async client/server, click the "Projects" tab (the other tabs are from the webpack starter)


clone

git clone https://github.com/invegat/angutype

change directory

cd angutype

install with npm

npm install

start the server (for chapter 8 client server)

npm start

use Hot Module Replacement

npm run server:dev:hmr

use AOT

npm run build:aot

to build the chapter 8 "product" server first navigate to /src/app/AT/C8/http_websocket_samples/server

running the client at port 3000 and the server at port 8000, this required [CORS for Express] (https://github.com/expressjs/cors)

to build the servers

npm run tsc

to start a product server

npm run devRest #or npm run restServer

for hot server replacement (after first buiding and starting the product server)

tsc /w

angutype's People

Contributors

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