Angular2 Express Webpack Starter
Quick start
Clone/Download the repo then edit
app.ts
inside/src/app/app.ts
orserver.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