Example project with Rails 6.1.4 and Ruby 2.7
- This exanple app consumes data from Reqres.In api and save the data in a User model, then publish API endpoints for that data. It uses Swagger/OpenApi docs UI for API documentation.
- Some model an requests Rspec test are made (working ok)
- Ready for docker-compose
- Sidekiq and Redis Server for Reqres.in API pull scheduled job every 3 minutes
- Docker
- Docker Compose
- Rails v6+
- Ruby 2.7+
- Clone the repository
- docker-compose build
- docker-compose run web bundle exec rails db:create db:migrate db:test:prepare
- docker-compose up
- You can see the API Docs in http://localhost:3000/api-docs
Regards
LC