Skip to content

SoftwareCriollo/TimeApp

Repository files navigation

Requiremnts

  • mongodb

Run application in development

  • First config your file .env with the keys for trello
      TRELLO_KEY=YOUR_KEY
      TRELLO_SECRET=YOURSECRETKEYGOESHERE
    
  mongod
  rails s

Run test suite

  • First config your file .env.test with the keys for trello (all call should be stubbed)
  rspec

Development

Views

  • Angular
    • All views should be in the folder /templates/[:resources]/file.html
    • The view do not need all layout
  • Ruby server: Normally

Controllers

  • Angular

    • Should be in the folder: /assets/javascripts/time_angular/modules/[:resources]/action.js
  • Api controllers

    • The controller should be in the namespace api
    • You need create the controller with ApiController
  • Server Controllers

    • Normally

Models

  • Angular:

    • All models should be created with
      window.TimeApp = window.TimeApp || {};
      var myObject = function(attributes){
        attributes ||= {};
        this.myAttribute = attributes.myAttribute; //Initializacion
    
        this.myFunction = function(){};
      }
      window.TimeApp.myObject = myObject;

Dependencies

  • Angular 1.3.7(resources, routes, sanatize, message)

This dependencies are managed with Bower (see: Bowerfile)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published