This repository helps you save lot of time and efforts bootstrapping and configuring the environment of a new Angular and Express project.
If you're one of the following, then you definitely need to use this seed repo:
- If you're new to Angular and need a sample working application
- If you're familiar with Angular, and create many prototypes and proof of concepts
- If you're about to create medium size project and need solid base to start from
- If you're busy man, and need to save lot of time, it only takes few seconds to get your hands dirty with what really matters to you!
I tried here to include most common libraries, check Stack section.
###It's very easy to start your own project using this seed repo:
- Download seed.sh here: https://github.com/AbuMuslimAmr/angular-express-seed/blob/master/seed.sh
- Place this shell script wherever you need your project on your PC
- Grant this script executable permission, run:
chmod u+x seed.sh
(learn more) - Create a new repository on your github or bitbucket
- Open up seed.sh using your favorite text editor, you'll need to configure a few stuff (more details in the section below).
- Run the script and pass the address to your new repository like so:
bash seed.sh https://github.com/username/myProject.git
- TADA! you have got everything ready for you, just start getting your hands dirty.
###Sample configurations: In the very beginning of the seed.sh script you may want to change one or more of these values:
INITIAL_COMMIT_MESSAGE="Initial commit"
FIND_KEYS=('ngApp' 'other-key-word')
REPLACE_KEYS=('newNgApp' 'other-value')
- Angular
- restangular
- ui.bootstrap
- ui.router
- lodash
- Bootstrap
- Node
- Express
- Bower
- Grunt
- es6 (babel)
- concat
- jshint
- less
- watch
If you don't have grunt-cli installed:
npm install -g grunt-cli
then,
git clone [email protected]:AbuMuslimAmr/angular-express-seed.git
cd <project-root>
sudo npm install
bower install
grunt
open new terminal tab:
node express
You can configure port from 'express/express-config.js'
App then should be up and running on port 3000 (by default).