Created: Sep 14, 2023
Can we solve the usability problems of the humble update API?
At its heart an API must solve five core problems, affectionately known as CRUD plus querying. Your API allows developers to create, retrieve, update, and delete information — queries being a special type of retrieve action. Compared to the complexity of queries, the main CRUD methods are often considered trivial.
Are they, though? For a relational database, a single update can...
more...
Created: Sep 10, 2023
In a situation where we need to modify our API’s structure or functionality while ensuring that existing API clients remain unaffected, the solution is versioning.
We can designate our current APIs as the older version and introduce all intended changes in the next (or latest) version. This approach resolves two key issues:
1. Backward compatibility is maintained as the current APIs continue to coexist. This ensures that our clients won’t encounter any...
more...
Created: Jul 26, 2023
Built with .NET 7.0, Dapper 2.0 and PostgreSQL
In this tutorial we'll show how to build a .NET 7.0 (ASP.NET Core) API with Dapper and PostgreSQL that supports CRUD operations.
Tutorial contents
Example API overview
Tools required to run the .NET 7.0 API
Run the CRUD example API locally
Test the API with Postman
Connect an Angular...
more...
Created: May 4, 2023
Often, GraphQL is presented as a revolutionary new way to think about APIs. Instead of working with rigid server-defined endpoints, you can send queries to get exactly the data you’re looking for in one request. And it’s true — GraphQL can be transformative when adopted in an organization, enabling frontend and backend teams to collaborate more smoothly than ever before. But in practice, both of these technologies involve sending an...
more...
Created: Feb 6, 2023
In this tutorial, I'll teach you how to build a simple REST API with PHP and MySQL.
REST has become the de facto standard when it comes to exposing data via APIs and building web services. In fact, most web applications these days access and expose data via REST APIs. With the popularity of front-end frameworks that can consume REST APIs effortlessly, it’s always going to be a plus for you...
more...
Created: Nov 14, 2022
The main data representation in REST is referred to as a resource. A properly named resource makes an API simple to use and intuitive. That same API, when implemented incorrectly, may feel complicated and be challenging to use and comprehend. The following article will assist you in getting started when constructing the resource URIs for your new API.
Use Nouns to represent resources / Not Verbs
Always make sure that your URIs...
more...
Created: Jul 1, 2022
Всем привет, я Алексей Некрасов - Lead направления Python в МТС и старший архитектор в MTS AI.
Хочу поделиться своим опытом внедрения версионирования и рассказать, как сделать первый шаг в реализации стратегии blue/green или канареечного развертывания, что для этого нужно и какие есть инструменты.
Если вы используете в docker-образах тег latest, или у вас недоступна система во время деплоя нового релиза, то эта статья — отправная точка для улучшения вашего продукта.
Наши продукты...
more...