Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/od-c0d3r/url-shortener
URL Shortener tool built with Ruby on Rails.
https://github.com/od-c0d3r/url-shortener
ruby-on-rails
Last synced: 25 days ago
JSON representation
URL Shortener tool built with Ruby on Rails.
- Host: GitHub
- URL: https://github.com/od-c0d3r/url-shortener
- Owner: od-c0d3r
- License: mit
- Created: 2021-06-08T11:45:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-13T17:49:07.000Z (over 3 years ago)
- Last Synced: 2024-10-21T22:58:44.520Z (2 months ago)
- Topics: ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
##### Prerequisites
The setups steps expect following tools installed on the system.
- Github
- Ruby [3.0.1](https://www.ruby-lang.org/en/downloads/)
- Rails [6.1.3.2](https://rubyonrails.org/)##### 1. Check out the repository
```bash
git clone [email protected]:od-c0d3r/url-shortener.git
```##### 2. Create and setup the database
Run the following commands to create and setup the database.
```ruby
bundle exec rake db:create
bundle exec rake db:setup
```##### 3. Start the Rails server
You can start the rails server using the command given below.
```ruby
bundle exec rails s
```And now you can visit the app with the URL http://localhost:3000