This application has following objectives
- File upload support from scratch(without gem)
- Authentication from scratch(without gem)
- File upload with gem
- Authentication with gem
- View any files.
This branch implements file upload mechanism and user authentication and authorization from scratch.
The application in this branch allows a user to sign up, upload his files, download his files. An unauthorized or unauthenticated user cannot access any file out of his jurisdiction.
- Ruby 2.0.0-p481
- Rails 4.0.3
- SQLite
bundle install
rake db:create
rake db:migrate
rake db:test:prepare
rake spec/
rails server
Please feel free to file issues in this repository's issues tracker.
You can also suggest improvements for code quality by commenting directly in the commits log.