- Ruby 3.2
- PostgreSQL, 14.x preferred
- Create two databases:
tidy_api_test
andtidy_api_development
- Run migrations and load seeds:
rake db:migrate
andrake db:seed
- Start the server:
rackup
- Make some requests:
curl --location --request GET 'http://localhost:9292/api/v1/posts'
curl --location --request GET 'http://localhost:9292/api/v1/posts/1'