Yesterday evening saw the launch of nusii a SaaS application to allow freelancers, studios and agencies to spend less time writing proposals and more time designing. We developed this application using Ruby on Rails over the last few weeks for a client in Madrid, Spain.
This blog post will outline and discuss some of the features and techniques used development of nusii:
- The front end site (nusii.com) is hosted on Media Temple and is just flat HTML, the back-end Rails app (app.nusii.com) is hosted with Heroku.
- By using
request.subdomainin a before filter a user is directed to their subdomain upon login. This also ensures the user can only use their subdomain and anonymous users are redirected back to app.nusii.com. The DNS is setup with *.nusii.com point to Heroku via a CNAME to allow all subdomains to work.
- User authentication is all handled by devise, which is fantastic!
- Payments are handled by Paymill and thanks to Marc Boquet for his example code this was pretty straightforward to setup.
- Lots of associations are used to make the organisation of data simpler. A client has many proposals, a proposal has one client, a proposal has many sections, a section has one proposal, a proposal has many documents, a document has one proposal.
- Account logos and proposal documents are all stored on Amazon S3 via Cloudinary which makes manipulation of images and PDFs easy.
- All emails are sent via Mailchimp's Mandrill service.
- The blog links in the footer are pulled in via RSS from the Wordpress based blog using feedzirra in a helper method, then cached for 24 hours.
Any questions about the development? add a comment.