This is simple node js application developed with angularjs, expressjs, and jade framework.
What this app contains.
- A user login and resgistration page.
- Ebook page that contains book content like page name and page content
- Add new pages to ebook.
- Update existing pages in ebook.
How to use this app.
- Take a pull from https://github.com/sintu-patel/nodeApp.git
- Open command prompt in nodeApp directory
- Run npm install
- Run bower install
- Run gulp
- Run gulp watch
- Run node ./bin/www
- Visit http://localhost:3001/ in browser
- Register username
- Login with username and password
How to run css unit test To run the tests:
- Start the Karma server:
./jake.sh karma(Unix/Mac) orjake karma(Windows) - Open
http://localhost:9876in one or more browsers. - Run
./jake.sh loose=true(Unix/Mac) orjake loose=true(Windows) every time you want to build and test. Alternatively, use./watch.sh loose=true(Unix/Mac) orwatch loose=true(Windows) to automatically runjakewhenever files change.
Remove the loose=true parameter for strict Node and browser version checking.
To run the app:
- Run
./jake.sh run(Unix/Mac) orjake run(Windows). - Open
http://localhost:8080in a browser. - Click the coffee cup icon to see the text appear and disappear.