A seed project for AngularJS-based web applications.
- Angular 1.4.x
- NodeJS with Express for local web development
- Bower and Gulp
- Foundation-based and naturally Sass-y
- Restangular for consumption of REST APIs with promises!
- Development web server live-reload support
- Clean structure
- Example Angular
- Models
- Directive
- Service to get the current weather in NYC
This presumes you already have node and gulp installed.
cd some_path
git clone git@github.com:ianmariano/angular-seed.git
cd angular-seed
npm install
Run the web server:
npm start
Then navigate to http://localhost:8080
Alternatively, if you want to run the web server with live-reload support during active development you can:
gulp watch-dev
You can also run the web server with live-reload support to test the production version of your site:
gulp watch-prod
To package a dev version of your app (in ./dist.dev
):
gulp clean-build-app-dev
To package a production version of your app (in ./dist.prod
):
gulp clean-build-app-prod
app
: the app lives hereapp/controllers
: controller code lives hereapp/models
: model code lives hereapp/services
: service provider code lives hereapp/styles
: sassy-nessapp/views
: views and componentsserver
: support for the dev web server
gulpfile.js
might also be interesting to check out.
Fork me on Github!