Free E-book

The 10 REST Commandments

Learn how to build great REST APIs that scale in any language by following these 10 essential rules

PS. Don't worry we won't ask for your email when you click download 😇 Enjoy the book!

The 10 REST Commandments E-book

What's inside

  • 01

    Be Practical

    In the first chapter we go over the basics of how to properly setup your API to respond with JSON. We also also cover why REST APIs should be JSON based on not XML based

  • 02

    Be Methodical

    In the second chapter we go over all 5 HTTP request methods: GET, POST, PUT, PATCH, DELETE. For each of them we explain what they mean, what they do and when they should be used

  • 03

    Be Semantical

    In the third chapter we take a look at some of the best practices for naming endpoints and keys. Everything you ever wanted to know about singular vs. plural, camel case, snake case and others

  • 04

    Be Secure

    In the fourth chapter we take a deep dive into API security. Everything from setting up SSL, using authentication methods, configuring your server to the IDs vs. UUIDs debate

  • 05

    Be Organized

    In the fifth chapter we talk about the importance of properly organizing and structuring your APIs. We also cover the importance of using versioning in modern APIs and how to actually do that the right way

  • 06

    Be Consistent

    In the sixt chapter of the book we talk about the importance of consistency. You'll learn why it's super important to properly structure your responses the right way and keep them the same

  • 07

    Be Graceful

    In the seventh chapter of the book we talk about errors. How to deal with them, how to predict all the possible ways your API might fail and how to properly respond

  • 08

    Be Smart

    In the eight chapter of the book we learn about the notion of smart APIs. How to build them, what they are, how they behave and what to watch out for when building smart APIs

  • 09

    Be Lean

    In the nineth chapter of the book we talk about speed and performance. You'll learn why it's important to build fast APIs, how to trim your responses and configure things like caching and content optimization

  • 10

    Be Considerate

    In the last chapter of the book we talk about the importance of understanding the API lifecycle and how to be considerate about everyone who will be using your API