Best of REST APIJuly 2025

  1. 1
    Article
    Avatar of bytebytegoByteByteGo·38w

    EP172: Top 5 common ways to improve API performance

    Covers five key techniques for improving API performance: result pagination for large datasets, asynchronous logging to reduce I/O overhead, data caching with solutions like Redis, payload compression using gzip, and connection pooling for database efficiency. Also compares REST vs GraphQL architectures, explains the differences between JWT tokens and API keys for authentication, outlines AWS tech stack components across nine layers, and describes five database index data structures that optimize query performance.

  2. 2
    Article
    Avatar of hnHacker News·41w

    zserge/pennybase: Poor man's Backend-as-a-Service (BaaS), similar to Firebase/Supabase/Pocketbase

    Pennybase is a minimalist Backend-as-a-Service implementation in under 1000 lines of Go code with zero external dependencies. It provides file-based CSV storage, REST API endpoints, authentication with session cookies, role-based access control, real-time updates via Server-Sent Events, and template rendering. Data is stored in human-readable CSV files with append-only versioning, making it suitable for simple applications that need basic backend functionality without the complexity of larger solutions like Firebase or Supabase.

  3. 3
    Video
    Avatar of bytemonkByteMonk·39w

    Spring Boot Deep Dive | How It Simplifies Java Apps & Microservices

    Spring Boot revolutionizes Java development by eliminating the verbose XML configuration and boilerplate code that plagued traditional Spring Framework. It provides auto-configuration, starter dependencies, embedded servers, and convention-over-configuration principles to enable rapid application development. The framework supports modern microservices architecture with features like service discovery, API gateways, circuit breakers, and distributed configuration. Spring Boot integrates seamlessly with Spring Security for authentication and authorization, while its actuator provides built-in monitoring and health checks for production-ready applications.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·38w

    Spring vs Spring Boot: How to Choose the Right Java Framework

    Spring is a comprehensive enterprise framework for Java applications that requires manual configuration and external server deployment, while Spring Boot is built on top of Spring with auto-configuration, embedded servers, and simplified setup. Spring offers more granular control and is ideal for complex enterprise applications, whereas Spring Boot prioritizes rapid development and is perfect for microservices and standalone applications. The choice depends on project requirements: use Spring for highly customized enterprise systems and Spring Boot for REST APIs, microservices, or cloud-native applications.

  5. 5
    Article
    Avatar of baeldungBaeldung·37w

    How to Use ParameterizedTypeReference in Java

    Spring's ParameterizedTypeReference solves Java's type erasure problem when working with generic collections in HTTP clients. The tutorial demonstrates how to use it with both RestTemplate and WebClient to properly deserialize generic types like List<User> and Map<String, List<User>>. Key concepts include understanding when to use ParameterizedTypeReference versus simple class types, the difference between getForEntity() and exchange() methods, handling reactive types with WebClient, and performance optimization through reusing static type reference instances.

  6. 6
    Article
    Avatar of hnHacker News·40w

    Most RESTful APIs aren't really RESTful

    Roy Fielding's original REST dissertation defines strict architectural constraints that most modern APIs claiming to be RESTful don't actually follow. True REST requires HATEOAS (Hypermedia as the Engine of Application State), where clients discover actions through embedded links rather than hardcoded URIs. The article explains Fielding's six rules for REST APIs, clarifies what constitutes a resource, and discusses why most developers opt for simpler RPC-style HTTP APIs instead of implementing full REST principles. The author advocates for pragmatic API design focused on usability rather than strict REST compliance.