marc-harry / angular2-express-webpack

Angular 2 with express and webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular2 Express Webpack Starter

Quick start

Clone/Download the repo then edit app.ts inside /src/app/app.ts or server.ts inside /server/server.ts

# clone our repo
git clone https://github.com/marc-harry/angular2-express-webpack.git 

# change directory to our repo
cd angular2-webpack

# install the repo with npm
npm install

# install the typescript typings with tsd
tsd install

# start the server
gulp # or npm start

go to http://localhost:3000 in your browser

Other commands

build files

npm run build  # or webpack  # or gulp

run tests

npm run test  # or karma start

run webdriver (for end-to-end)

npm run webdriver-start  # or webdriver-manager start

run end-to-end tests

# make sure you have webdriver running and a sever for the client app
npm run e2e  # or protractor

About

Angular 2 with express and webpack


Languages

Language:JavaScript 91.3%Language:TypeScript 8.0%Language:HTML 0.7%Language:CSS 0.0%