I wrote this application while learning the Mongodb, Express, Angularjs, Node.js Stack. The application has user management and each user has a To-Do list in which he can add, edit and remove items.
#Demo#
You can use the demo user:
email: demo@example.com
password: Demo12 (capital D, case sensitive)
-
Node.js is installed.
To test, runnode -v
-
npm is installed
To test, runnpm -v
-
MongoDB is installed
To test, runmongod --version
-
MongoDB is not running as a service (it does by default)
To stop it, runsudo service mongod stop
-
grunt and karma are installed globally To test, make sure
grunt
andkarma
are recognized commands. If they are not, install by runningnpm install -g grunt-cli
andnpm install -g karma-cli
.
-
in
\
runnpm install
If you get errors, trysudo npm install
-
in
\src
runbower install
run grunt
open http://localhost:9000
run grunt build
.
The files will 'compile' and the database and server will start. By default it will be available at http://localhost:8081.
grunt server
will start the public servergrunt only-build
will 'compile' the files for the public server without starting the database or the servergrunt test
to run karma tests without the rest of the default dev tasks (starting server, database, etc.)