Skip to content

Instantly share code, notes, and snippets.

View mrcsporto's full-sized avatar

Marcos Porto mrcsporto

  • CompreUp e Governo do Estado do Ceará
  • Fortaleza - CE - Brazil
  • 10:24 (UTC -03:00)
View GitHub Profile
@withoutwax
withoutwax / ror-api.markdown
Last active May 5, 2025 10:25
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.