Articles about API
13 articles
OpenAPI 4: API documentation and standardization
OpenAPI 4 brings improvements in types, licensing, reusability, and code generation. New features of the API documentation standard.
Swagger: interactive API documentation
Document your REST APIs with Swagger. Configuration, customization, Express integration, and best practices for effective documentation.
OpenAPI Code Generation: generate clients from your schemas
Generate API clients, TypeScript types, and documentation from OpenAPI schemas. Tools, configuration, and best practices.
REST vs GraphQL: choosing the right API architecture for your project
Compare REST and GraphQL API architectures. Learn which approach fits your project's needs for performance, flexibility, and developer experience.
API Versioning: strategies to evolve your APIs
API Versioning strategies: URL, headers, query params, and content negotiation. How to evolve APIs without breaking existing clients.
Integration Testing: strategies for testing integrations
Integration testing strategies for testing interactions between modules, databases, and external APIs. Practical examples with Supertest and TestContainers.
tRPC vs GraphQL: when to use each API technology
tRPC vs GraphQL comparison: differences, advantages, and ideal use cases for choosing the best API technology in TypeScript applications.
Rate Limiting: protect your API from abuse
Guide to Rate Limiting for API protection: strategies, algorithms, practical implementation, and tools to prevent abuse and DDoS attacks.
Webhooks: real-time external integrations
Guide to webhooks: how to send and receive real-time events, security, retries, and best practices for external integrations.
GraphQL Yoga and Pothos: modern GraphQL stack
Guide to GraphQL Yoga and Pothos: the modern GraphQL server stack with performance, type-safe schemas, and built-in plugins.
JWT vs Sessions: how to authenticate users in your API
JWT vs session-based authentication comparison: advantages, disadvantages, and when to use each approach for modern API authentication.
tRPC: end-to-end types without boilerplate code
tRPC enables type-safe APIs between client and server without code generation. Learn to build TypeScript APIs with automatically shared types.
Google Search Console API: automate your SEO analysis
Learn how to use the Google Search Console API to automate SEO reports, monitor rankings, and detect technical issues.