Skip to content

AlfonsoGhislieri/instagram-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram

Instragram clone created using Ruby on Rails, JavaScript, PostgreSQL, Bootstrap, HTML and CSS.. Javascript was used for DOM manipulation and avoiding refreshing when possible (creating a semi-single page application).

Tested using RSpec and Capybara.

Setup

> git clone https://github.com/AlfonsoGhislieri/instagram-challenge.git
> cd instagram-challenge
> bundle install
> bin/rails db:create
> bin/rails db:migrate

> bin/rails server # Start the server at localhost:3000

Testing

> bundle exec rspec # Run the tests to ensure it works

Troubleshooting

If you don't have Node.js installed yet, you might run into this error when running rspec:

ExecJS::RuntimeUnavailable:
  Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.

Rails requires a Javascript runtime to work. The easiest way is to install Node by running brew install node - and then run bundle exec rspec again

About

Instagram clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 65.5%
  • HTML 26.2%
  • JavaScript 5.4%
  • CSS 1.5%
  • SCSS 1.4%