Best of REST APIOctober 2024

  1. 1
    Video
    Avatar of awegoAwesome Go·2y

    Complete Backend Engineering Course in Go

    This course offers a comprehensive guide to backend engineering in Go, covering the creation of a RESTful API from scratch to deployment. It spans from basic concepts like creating a low-level TCP server to advanced topics like authentication, authorization, caching, logging, CI/CD, and deployment to Google Cloud. The course emphasizes understanding core principles, design patterns, and best practices for API development, including the repository pattern, clean architecture, optimistic concurrency control, and more. A free, initial module is available, along with a GitHub repository for further exploration.

  2. 2
    Article
    Avatar of itnextITNEXT·2y

    Why is gRPC so much faster than a JSON-based REST API?

    gRPC is faster than a JSON-based REST API primarily due to its use of HTTP/2 and Protobuf. HTTP/2 reduces request wait times through asynchronous requests and connection reuse. Protobuf, being binary-based, is more compact and faster during serialization/deserialization compared to JSON. While gRPC offers significant performance benefits, it also introduces complexities in load distribution, troubleshooting, and managing contracts. It's recommended for scenarios needing high performance and capable of handling its complexities, though REST + JSON remains a viable option.

  3. 3
    Article
    Avatar of logrocketLogRocket·1y

    Using Polars in Rust for high-performance data analysis

    Learn how to use Rust and Polars to create a high-performance data analysis application with a REST-based Web API. This guide covers setting up a Rust project, importing and manipulating data from CSV files, creating a web server using Axum and Tokio, and implementing API endpoints for retrieving and analyzing data. Polars is highlighted for its performance and versatility in handling large data sets.

  4. 4
    Article
    Avatar of gitlabGitLab·1y

    Guide to REST API

    REST API, a framework based on REST architecture, allows applications to communicate with each other. Key principles include client-server decoupling, uniform interface, statelessness, and cacheable data, leading to versatile and lightweight solutions. Benefits include flexibility, portability, and scalability. Security challenges can be addressed with TLS encryption, robust authentication, and request management. GitLab offers extensive REST API support for efficient integration and automation.

  5. 5
    Video
    Avatar of webdevcodyWeb Dev Cody·1y

    How web applications are secured

    Web application security involves protecting backend code and databases by using a server-side component such as a REST API. Authentication is key to verifying user identities through tokens or session IDs. Authorization ensures users have proper permissions to access data. Middleware functions check token validity to prevent unauthorized access. Rate limiting can protect servers from being overwhelmed by repeated requests. Input validation and sanitization are crucial to prevent storing malicious data that could harm the application or other users.