Skip to content

Instantly share code, notes, and snippets.

View mrcsporto's full-sized avatar

Marcos Porto mrcsporto

View GitHub Profile
@withoutwax
withoutwax / ror-api.markdown
Last active January 24, 2024 16:28
Guide on how to create an API-Only Application with Ruby on Rails 5

Creating an API-Only Application with Ruby on Rails

01 - Create a new API-only Rails app

rails new ror-app-name --api

02 - Basic Scaffold

01 - Model

This step is for creating a very basic level of model for us to work in. If you know already, or wish to apply your own custom models with relationships you can skip this step.