Skip to content

vs4vijay/xdo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xDo

A simple ToDo application in Sinatra, Ruby on Rails, and MongoDB. Deployed at http://xdo.mybluemix.net/

Development

  • use /spa path for Single Page Application in AngularJS
  • use / path for Rails Application

Technology used

  • Ruby
    • Sinatra - API Server
    • Rails - Frontend API Handler
    • her - ORM
    • gems used
      • sinatra and sinatra-contrib
      • mongoid - An ODM for MongoDB
      • her - A Restful Object Request mapper
        • faraday_middleware
      • thin
  • AngularJS
  • Bootstrap and jQuery
  • MongoDB

Functionality

  • User can add ToDo Task
  • Mark task as done
  • Edit task on double click of task description
  • Search task

Installation

  • Install gems using gem install sinatra sinatra-contrib mongoid her faraday_middleware
  • For Sinatra API server
    • go to xdo-sinatra using cd cdo-sinatra
    • run xdo.rb using ruby xdo.rb or rackup
  • For Rails server
    • go to xdo-rails in different terminal using cd xdo-rails
    • do a bundle install to make sure all the dependencies installed
    • run rails server
  • Start Mongodb server using mongod on another terminal
  • Now open rails server localhost:3000 on browser.

About

ToDo App in Sinatra, Ruby on Rails, and MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published