The main purpose of this project is to create a music collection application. Login screen, Sign In as common user and Administrator parameters, creation of music albums that are addressed to artists, options to create, show, edit and delete albums. The artists were loaded from an API. ASDF, Rails, Bootstrap, SQLite, Rake were used for this. All the necessary gems have been included in the Gemfile.
This project runs with Ruby, version 3.3.0
, and Rails 7.1.3.2
. If it's needed it can be used a version controller as ASDF.Observation: When installing ASDF, disregard the mentioned versions in the guide and take the current ones as relevant. Always verify the documentation on the official website of the tool to be installed.
In this project, it's used SQLite, if it's need to be change to run on your local machine, it can be done on database.yml
To execute the project, follow the steps bellow:
$ bundle install
$ bin/rails db:create && db:migrate
$ bin/rails server
To import the artists it was used Rake Task:
$ rails album:artist
To grant quality with the code it was used rubocop. To execute it:
$ bundle exec rubocop