Best of REST APINovember 2024

  1. 1
    Article
    Avatar of awegoAwesome Go·1y

    Mastering Modern APIs with Go: From Basics to Best Practices🌐💻🚀

    APIs are crucial for modern software development, acting as intermediaries that allow different systems to communicate. This guide explores how to build and consume APIs using Go, highlighting key concepts such as endpoints, HTTP methods, and data formats. It also provides best practices for error handling, security, and rate limiting and includes practical steps for setting up, writing, and testing API code in Go.

  2. 2
    Article
    Avatar of elixirstatusElixirStatus·1y

    mssantos/polo: REST client for browsers.

    Polo is a minimalist REST client for JSON APIs that you can run directly from your browser. It's built with Elixir and Phoenix, leveraging Phoenix LiveView for most functionality. After cloning the Polo repository and setting it up with Docker, you can create request collections and share them using Git. Custom JavaScript is minimal, with styles primarily written in custom CSS. Polo also supports request collections using NimblePublisher.

  3. 3
    Article
    Avatar of arcjetArcjet·1y

    Rethinking our REST API: Building the Golden API

    Every company faces the need to reassess their tools. For Arcjet, this meant rebuilding their unmanageable REST API from the ground up with a focus on maintainability, performance, and scalability. They shifted from Next.js to Go for their backend while retaining Next.js for the frontend. They adopted an OpenAPI-first approach to define their API, which improved documentation and contract management. The new setup also required better security practices, such as avoiding public database endpoints. Testing the new API was streamlined with Go's simplicity and robustness. The transition resulted in a faster, more secure, and easily maintainable API.