This is a URL shortener app built with Rails 6. Built with TDD (not all :-D).
To see it in action, visit: http://shoti.herokuapp.com/ (Please make to insert the right URL format with Http/Https)
Prerequisites:
- Ruby 2.6.6
- Rails 6.0.3.2
- Postgresql
-
Git clone this repo and bundle install
-
Create and setup database
bundle exec rake db:create
andbundle exec rake db:migrate
-
To run test suite just type in
rspec
-
Start the server by type in
bundle exec rails s
-
Visit site at http://localhost:3000 in browser