This is a Ruby on Rails API based application & it index all the available packages on a CRAN server, extract all the required information for each package, and store it in an appropriate format.
Ruby 2.7.2
Rails 6.0.3
Postgres
Docker for Mac
- Build Docker
docker-compose build
- Database creation
docker-compose run web rake db:setup
- Start the Application
docker-compose up
docker-compose run -e RAILS_ENV=test web rspec
I personally try to keep things simple and small as much as possible. I am a fan of DRY but don't like to go super dry.
Btw I am a good believer in the single responsibility principle & prefer to have a number of classes instead of having a giant single class.
git push heroku master