Category: REST

REST 2.0 Is Here and Its Name Is GraphQL

GraphQL is a query language for APIs. Although it’s fundamentally different than REST, GraphQL can replace serve as an alternative to REST that offers performance, a great developer experience, and very powerful tools. Throughout this article, we’re going to look at how you might tackle a few common use-cas...

RESTful Remote Object Proxies with ProxyManager

The proxy pattern is another cool design pattern in software development. A proxy is a class working as an interface to another class or web service. For the sake of simplicity, we’ll refer to proxied classes as subjects throughout the rest of the article. A proxy usually implements the same interface as the subj...

How to Create a Pokemon Spawn Locations Recorder with CouchDB

In a previous article, you’ve been introduced to CouchDB. This time, you’re going to create a full-fledged app where you can apply the things you learned. You’re also going to learn how to secure your database at the end of the tutorial. Overview of the Project You’re going to build a Pokemon sp...

User Authentication with the MEAN Stack

In this article, we’re going to look at managing user authentication in the MEAN stack. We’ll use the most common MEAN architecture of having an Angular single-page app using a REST API built with Node, Express and MongoDB. When thinking about user authentication, we need to tackle the following things: let a user...

Flexible and Easily Maintainable Laravel + Angular Material Apps

In this article, we’re going to set up a Laravel API with Angular Material for the front end. We’re also going to follow best practices that will help us scale with the number of developers working on the project and the complexity behind it. Most tutorials cover this topic from another perspective – they com...

WP API and OAuth – Using WordPress without WordPress

In this tutorial, we’ll learn how to install and use WP-API with OAuth – a WordPress plugin which uses REST-like API endpoints to allow reading of WP content to unauthenticated users, and writing of WP content to users who authenticate via OAuth (or via Cookies for themes and plugins). Using the plugin isn’t...