rails api only with postgress and rspec code example Example: rails api only with postgress and rspec rails new app-name --api -T -d postgresql