Starting a Rails back end from scratch.

Looking to create a Rails backend from scratch? In this following quick start guide, we’ll cover creating a new API backend, the database and migration, model, and controller files.

From the console we can run

rails new myappname --api

Alternatively, if you are looking to use postgresql as your database, we can run