Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.02 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.02 KB

README

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

Getting Started

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

Run the Tests

RSpec is used for the tests. To run it, just type the following in your command prompt:

 rspec