Ruby on Rails Mongoid Simple_Form Bootstrap development
$100-300 USD
In Progress
Posted almost 12 years ago
$100-300 USD
Paid on delivery
Develop a ruby on rails applications for BMW, Audi, and Mercedes auto enthusiasts. This web site is all about the cars and users should be able to create a profile, and upload their car photo's to show off to their friends and registered users. Users should be able to define preferences on type of car owners they like to become friends. Functionality to manage profile, preferences, and uploading photos are the key areas to be accomplish on this project. To summarize, it will just be three editable forms with nested features and main navigation with links to these forms. You do not need to do anything other form or fancy home page. Just make sure to get get these three forms right.
## Deliverables
Application should use mongodb and mongoid adapter for the models. User authentication must be handled with devise and simple_form with twitter bootstrap for form handling. There is already a template on Github so just grab it over here <[login to view URL]> . You may have to add simple_form and twitter bootstrap into the Gemfile. Since this is schema less database, profile data will be embedded inside user model and requirement is to use <[login to view URL]> gem to handle nested_forms. Must include Cucumber and RSpec scenarios. For the pictures use <[login to view URL]> gem and AWS for storage. Include a short note on how to setup AWS so that only authorized users can access the folders. Sample and development work must be done on Heroku so that I could evaluate and make necessary comments. To summarize, it will just be three editable forms with nested features and main navigation with links to these forms. You do not need to do anything other form or fancy home page. Just make sure to get get these three forms right.
# Models {#internal-source-marker_0.32949081398018154}
class User
# use devise defaults
embeds_one :profile
embeds_one :preference
accepts_nested_attributes_for :profile
accepts_nested_attributes_for :preference
end
class Profile
field :first_name, type: String
field :last_name, type: String
field :title, type: String
field :interest, type: Array
field :occupation, type: Array
field :skills, type: String
field :languages, type: Array
embedded_in :user
embeds_many :autos
accepts_nested_attributes_for :autos, allow_destroy: true
end
class Preference
field :interest, type: Array
field :occupation, type: Array
field :skills, type: String
field :languages, type: Array
embedded_in :user
embeds_many :autos
accepts_nested_attributes_for :autos, allow_destroy: true
end
class Auto
field :make, type: String
field :model, type: String
field :year, type: Integer
embedded_in :profile
embedded_in :preference
end