This is a repo for a starter application for a Single Page MEAN Stack application. Just download and install and you have a good foundation for building any application.
- Install npm modules:
npm install - Install bower dependencies
bower install - Install Gulp
npm install -g gulp - Start up the server:
gulp - View in browser at http://localhost:8080
Use this starter kit to build any MEAN stack application you like.
Just run gulp. It concatenates all files in /css and all *.min.css files in bower_components/ to one CSS file in public/css/css.css. The same with JavaScript files. The final CSS and JS files will be loaded into the page. You don't have to do anything. Just keep your front-end files in css/ and js/. Use the Livereload Browser Extension to automatically refresh the browser upon changes to the files in those two directories. The server will also automatically be restarted upon any change of a back-end file.
Run gulp dist. Like dev, plus JS and CSS are minified and anything you need will be put to a dist/ directory. Go into that directory and start the application with node server.js.
- MEAN Stack
- Twitter Bootstrap
- Jade Template Engine
- Gulp
- Mongoose