Rails based url shortener
- Clone the repo
- Run
bunde install
- Run
yarn install
- Set up the database:
bundle exec rails db:setup
- Execute the migrations:
bundle exec rails db:migrate
- Start the rails server:
bundle exec rails server
Once you're on the homepage, you'll be presented with a form. Fill it with a url and clik on "Create Url" The url will be saved, and a shortened version will be assigned to it. You can then use the shortened URL to reach the original one