Ruby on Rails application in the second week of the Codaisseur traineeship.
What was covered:
- PostgreSQL database
- Testing with RSpec and Capybara
- Basic authentication with Devise
- Associations: one-to-many, many-to-many, one-to-one
- Using factories with FactoryGirl and Faker
- Uploading images using CarrierWave and Cloudinary
- Deployment with DEIS
- Basic AJAX
- Token based authentication
Make sure you have Ruby and Rails installed.
Clone the repository and enter the project directory
Install all dependencies
bundle install
Create database and migrate schema; seed the database
rake db:create
rake db:migrate
rake db:seed
Run the application - it should be available on http://localhost:3000
rails s
RSpec is used for the tests. To run it, just type the following in your command prompt:
rspec