Skip to content

ghas-results/angular-rollbase-blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Rollbase Blog

Angular example blog app based on btford/angular-express-blog, demonstrating the use of angular-express-rollbase-seed where the Node server references the Rollbase REST Api. The blog can be viewed on http://angularrollbase-21755.onmodulus.net/. A post on how to use this can be found on http://mendoncakeegan.wordpress.com/2014/08/22/angular-rollbase-blog/.

Running the app

  1. Create an Object in Rollbase. Its integration name will be use in objectIntegrationName variable located at routes\api.js file
  2. Create a new field with the type of text, label it as "text". Make sure the integration name is "text" as well.
  3. Supply the credential in routes\api.js
  4. Run the application by invoking node app.js

Directory Layout

app.js                      --> app config
package.json                --> for npm
AngularRollbaseDemo_v2.xml  --> xml file that can be used to generate Rollbase app
public/                     --> all of the files to be used in on the client side
  css/                      --> css files
    app.css                 --> default stylesheet
  js/                       --> javascript files
    app.js                  --> declare top-level app module
    controllers.js          --> application controllers
    directives.js           --> custom angular directives
    filters.js              --> custom angular filters
    services.js             --> custom angular services
routes/
  api.js                    --> route for serving JSON. This is simulating Corticon.
  index.js                  --> route for serving HTML pages and partials
views/
  index.jade                --> main page for app
  layout.jade               --> doctype, title, head boilerplate
  partials/                 --> contains various partial views
    addPost.jade            --> view for adding post
    deletePost.jade         --> view for deleting post
    editPost.jade           --> view for editing post 
    index.jade              --> view for index page with all posts 
    readPost.jade           --> view for reading post      

Contact

For a blog post on this project please check out http://mendoncakeegan.wordpress.com/2014/08/22/angular-rollbase-blog/
For more on Rollbase please check out http://www.progress.com/products/rollbase.
For more on AngularJS please check out http://angularjs.org/.
For more on NodeJS please check out http://nodejs.org/.

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • CSS 3.3%