Ruby version - 2.7.2
Install redis
Install postgresql
bundle install
rake db:create
rake db:migrate
rake db:migrate RAILS_ENV=test
bundle exec foreman run --env .env.test rspec spec/
Then run foreman start -f Procfile.dev
to run rails app and copy
the following url in browser http://localhost:5000/graphiql