Shortener url is system to shortener url.
The software consists:
- CRUD to User (with authentication) and shortener url write in Ruby on Rails 6.
-
Ruby version
- 3.0.1, see ruby version
-
System dependencies
- All dependencies are available at Gemfile.
-
Local
$ bundle install $ rails s
-
Docker-compose
$ docker-compose up --build
-
Docker hub
$ docker pull danilovbarbosa/test-shortner-url:0.1.0 $ docker run -it -p 80:3000 --name test-shortner-url danilovbarbosa/test-shortner-url:0.1.0
-
Database creation
$ rails db:create $ rails db:migrate $ rails db:seed
-
How to run the test suite
-
Rspec (model, controller, ...)
$ rspec
-