This Rails app is part of the RealWorld project.
See how the exact same Medium.com clone (called Conduit) is built using different frontends and backends. Yes, you can mix and match them, because they all adhere to the same API spec
This fork also demos using Colimit to automatically test the API, replacing conventional manually written Rails integration/request tests!
Make sure you have Ruby and Rails installed on your computer.
Clone the repo and enter the project folder
git clone https://github.com/colimit-io/ruby-on-rails-realworld-example-app
cd ruby-on-rails-realworld-example-app
Install gems
bundle install
Execute migrations
rails db:migrate
Generate your Colimit API key/token, then set it as an environment variable
export COLIMIT_API_KEY=your-api-key-here
Run the Colimit test, and see the latest Colimit simulation in the UI (click into the Created link to view details as its running).
COLIMIT_MAX_GENS=20 bundle exec rails test test/integration/colimit_test.rb