• Stars
    star
    366
  • Rank 116,547 (Top 3 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 6 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
135
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
34
star
5

market_place_api_6

Code example of API on Rails 6 book https://github.com/madeindjs/api_on_rails
Ruby
22
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
15
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-notable

VSCode plugin to take Markdown notes following Notable format.
TypeScript
4
star
12

vscode-markdown-tags

VSCode plugin to handle Markdown tags
TypeScript
4
star
13

invoice-generator-pdf

Generate PDF invoice using PDFMake from JSON definition.
JavaScript
2
star
14

vscode-markdown-move

Move, promote and demote Markdown section in VSCode
TypeScript
2
star
15

killer-game

generate Killer game for a party
JavaScript
2
star
16

fooder

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

build_my_portfolio

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

jMarkdown

A Markdown editor with live HTML preview
Java
1
star
19

the-godfather.tech

TypeScript
1
star
20

Zombie-Outbreak

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

market_place_api

Ruby
1
star
22

dcim_orgnzr

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

ScrawlEO

Web Scrawler for Android.
Java
1
star
24

pomodore_manager

a Pomodore manager written only Python
Python
1
star
25

locadb

Locadex API using Typescript and MongoDB
TypeScript
1
star