O desafio é fazer um TO DO List
- Poder criar várias listas de TO DO
- Cada lista tem que poder ser adicionado vários itens
This project uses asdf.
Follow the installation instructions
After installation you need to follow these steps:
# Add ruby plugin on asdf
$ asdf plugin add ruby
# Install ruby plugin
$ asdf install ruby 3.0.3
# Set the default ruby for the project
$ asdf local ruby 3.0.3
# install bundler
$ gem install bundler
# run bundle to install gems
$ bundle
Create a new file config/application.yml
based on the template file config/application.sample.yml
.
Fill the default section with your database credentials.
# turn on docker
$ docker-compose up -d
# setup database
$ bin/rails db:setup
# run migrations
$ bin/rails db:migrate
# run rspec
$ bundle exec rspec
# turn on docker
$ docker-compose up -d
# run rails server
$ bin/rails server