Small Rails project that given a url it returns a shorter version that redirects to the original one.
Deployed at https://shrt-gf.herokuapp.com/
- Ruby: 2.7.0
- PostgreSQL
git clone git@github.com:lsarni/url-shortener.git
cd shortener
Using Bundler:
bundle install
Create a copy of .env.exampl
and rename it to .env
.
Fill out any missing fields with the correct information.
rails db:create db:migrate
rails s
rspec -fd