A ruby-on-rails web application to find the courses from Coursera using course keyword.
CourseFinder is live on https://course-finder-astikanand.herokuapp.com
- User can search all the courses by providing just course keyword in search bar.
- Makes use of REst api provided by coursera from https://api.coursera.org/api/courses.v1
- Uses fields name, photoUrl and description provided by API.
- Just enter your course keyword in search bar and hit enter.
- You will get a list of courses for that particular search keyword.
- Click on that link and enjoy learning that course.
ruby-2.3.3
rails-5.1.4
-
Download or clone the repository.
$ git clone https://github.com/astikanand/course-finder.git
-
Install dependencies by going into the project directory and then
$ cd course-finder $ bundle install
-
Open your browser and hit localhost:3000
-
Install PhantomJS (http://phantomjs.org/)
-
Run the following inside your terminal:
$ gem install rspec $ gem install selenium-webdriver $ gem install capybara $ gem install poltergeist
-
Run the following in your terminal (right outside of
spec
dir):$ rspec
or in better format
$ rspec --format documentation
to see the magic.
Headless mode
# Capybara.default_driver = :selenium
# Headless
Capybara.default_driver = :poltergeist
Home