npm install
npm start
The behaviour of this will vary depending on environment (see server.js
:
Will use webpack-dev-server
to serve up dev code, with live reload etc
Will use express
to serve up production code from the target
directory (as produced by npm run build
)
The repository is tested on TravisCI, and then deployed from there to Heroku:
https://gethin-postits.herokuapp.com/
src/components
postit-notes
: the main postit-notes containerpostit-note
: a component for displaying a single postit
src/models
postit
: the model definition and API binding for saving/loading postits
Originally based on https://github.com/r-park/angular2-webpack-seed