• Stars
    star
    360
  • Rank 114,489 (Top 3 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 5 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Learn best practices to build an API using Ruby on Rails 5/6

Api on Rails 6

List of sponsors

Learn best practices to build an API using Ruby on Rails 5/6. The intention with this book it's not only to teach you how to build an API with Rails. The purpose is also to teach you how to build scalable and maintainable API with Rails which means improve your current Rails knowledge. In this book you will learn to:

  • Build JSON responses
  • Use Git for version controlling
  • Testing your endpoints
  • Optimize and cache the API

This book is based on "APIs on Rails: Building REST APIs with Rails". It was initially published in 2014 by Abraham Kuri. Since the original work was not maintained, I wanted to update this excellent work. All the source code of this book is available in Asciidoctor format on this repository. So don't hesitate to fork the project if you want to improve it or fix a mistake that I didn't notice.

Update & translation of the API on Rails (EN) book. This book is written using Asciidoctor.

Support the project

As you may know this project take me some times. So if you want to support me you can buy a version on Leanpub:

Or you can support me with Liberapay: Donate using Liberapay

Build book

$ git clone https://github.com/madeindjs/api_on_rails/
$ cd api_on_rails
$ bundle install
$ rake "build:pdf[6,fr]"

You can see all build available with rake -T

$ rake -T
rake "build:all[version,lang]"   # Build all versions
rake "build:epub[version,lang]"  # Build an EPUB version
rake "build:html[version,lang]"  # Build an HTML version
rake "build:mobi[version,lang]"  # Build a MOBI version
rake "build:pdf[version,lang]"   # Build a PDF version

License

This book is under MIT license and Creative Common BY-SA 4.0

More Repositories

1

Wifi_BruteForce

A script to find all Wifi Networks in the area and try the 100K most used passwords
Python
166
star
2

Crystagiri

An Html parser library for Crystal (like Nokogiri for Ruby)
Crystal
131
star
3

active_storage-send_zip

Create a zip from one or more Active Storage objects
Ruby
44
star
4

nestjs-graphile-worker

A Nest.js wrapper for Graphile Worker
TypeScript
27
star
5

market_place_api_6

Code example of API on Rails 6 book https://github.com/madeindjs/api_on_rails
Ruby
21
star
6

workflow.ts

TypeScript + Sequelize ORM + Express.js
TypeScript
20
star
7

rest-api.ts

Free ebook to learn best practices to build an API using Node.js and Typescript.
TypeScript
17
star
8

Rocket_MVC

An MVC web application built with Rocket.rs & Diesel.rs
Rust
16
star
9

Super-Markdown

a Python library to export a complex Markdown file into a standalone HTML file.
Python
7
star
10

recipe_scraper

A web scraper to get a Marmiton, 750g or cuisineaz's recipe
Ruby
6
star
11

vscode-markdown-tags

VSCode plugin to handle Markdown tags
TypeScript
3
star
12

vscode-notable

VSCode plugin to take Markdown notes following Notable format.
TypeScript
3
star
13

killer-game

generate Killer game for a party
JavaScript
2
star
14

the-godfather.tech

TypeScript
1
star
15

fooder

An web-based application to easilly create a restaurant website
Ruby
1
star
16

build_my_portfolio

A resume / portfolio generator without database requirement.
PHP
1
star
17

jMarkdown

A Markdown editor with live HTML preview
Java
1
star
18

Zombie-Outbreak

A 'Zombie Apocalypse' simulator created in Python
Python
1
star
19

market_place_api

Ruby
1
star
20

dcim_orgnzr

Organize your picture library according to EXIF data.
TypeScript
1
star
21

ScrawlEO

Web Scrawler for Android.
Java
1
star
22

vscode-markdown-move

Move, promote and demote Markdown section in VSCode
TypeScript
1
star
23

pomodore_manager

a Pomodore manager written only Python
Python
1
star
24

locadb

Locadex API using Typescript and MongoDB
TypeScript
1
star