The ClikTrak app uses Express, AngularJS and Mongoose. The client side libraries are managed by Bower and the view engine is justhtmlm the render is processed in the client side powered by AngularJS.
After clone this project you should install the npm packages and bower packages.
npm install -g bower
npm install
bower install
To run the app you should use this command.
npm start
Presents common functions independent of the business: validations, security, logging, etc.
Defines the entities of the application, these are objects not defined by its attributes, but rather by a thread of continuity and its identity. The business logic should be placed in this module. The approach to develop a complex application using here is Domain drive-design http://en.wikipedia.org/wiki/Domain-driven_design
When an operation does not conceptually belong to any object. Following the natural contours of the problem, you can implement these operations in services.
Handles the HTTP requests. The business logic should not be placed here because this routers are attached to the HTTP protocol, it's hard to test and cannot be reused easily. The public-api folder is public and does not need a user's session. The api folder is a private API and need a valid user's session to use.
This is all the client side content, the user can access this content freely. The front-end is an AngularJS app using the SPA approach. The controls folder is a collection of Angular's directives that representes a business object, i.e. the html tag is replaced with the readonly customer profile to be displayed everywhere in the app.
The config.json file is located in the root folder.
All the html to build PDFs or e-mails, or another type of media resources for server side process.
bower update <package>
more info about Bower in http://bower.io/
You should looking for the connectionString field in the /config.json file. An example of a connection string is: [mongodb://:@:/?safe=true]