Best of REST API2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    API Design 101: From Basics to Best Practices

    This post provides an in-depth explanation of API design, focusing on the basics and best practices. It covers topics such as CRUD operations, communication protocols, REST, GraphQL, and more.

  2. 2
    Article
    Avatar of hnHacker News·2y

    Free Public APIs

    A collection of free public APIs with high health scores that offer a variety of functionalities including IP geolocation, data on Rick and Morty characters, UK postcode lookup, Kanye West quotes, Harry Potter characters and spells, useless facts, weather data, holidays information, and more. These APIs support REST and sometimes GraphQL endpoints, providing reliable and valuable data for developers.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Understanding APIs: 10 API Concepts and Examples

    APIs are vital in enabling communication between applications and data. This post explains the basics of APIs, types such as Public, Private, and Partner APIs, and details both REST and SOAP APIs. Key principles of REST APIs, differences between JSON and XML, HTTP methods, and essential concepts of API endpoints are covered. It discusses API security with authentication and authorization, and how to test APIs effectively using tools like Postman, cURL, and Swagger.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Don't query your PostgreSQL db anymore, prefer PostgREST

    The post discusses the benefits of using PostgREST to replace traditional SQL queries in PostgreSQL databases. It outlines the process of setting up PostgREST, a standalone web server that converts PostgreSQL databases into RESTful APIs, simplifying database interactions. The author shares their experience migrating from MySQL to PostgreSQL and how PostgREST helped streamline their PHP code by eliminating direct SQL queries. The post includes a tutorial on setting up and using PostgREST with Docker, illustrating various query examples and security considerations.

  5. 5
    Article
    Avatar of bytebytegoByteByteGo·2y

    EP94: REST API Cheatsheet

    The post covers topics such as REST API design principles, push notification system architecture, popular use cases for UDP, and programming paradigms.

  6. 6
    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.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Comprehensive NestJS Course

    Learn NestJS and master the creation of robust backend APIs for real-world applications with a comprehensive course on freeCodeCamp.org. The course covers database design, REST API development, authentication, authorization, GraphQL, WebSocket integration, and more.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a CRUD REST API with NestJS, Docker, Swagger, and Prisma

    Learn how to build a CRUD REST API with NestJS, Docker, Swagger, and Prisma. Explore the power of NestJS, Docker, Swagger, and Prisma to implement CRUD operations for managing recipes.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    API for Image Generation

    Generate images for social media and ecommerce using an API or #nocode tools. Templates can be edited and modified via API. Supports multiple languages and offers easy integration into existing platforms or apps.

  10. 10
    Video
    Avatar of awesome-codingAwesome·2y

    The Right Way To Build REST APIs

    REST APIs are essential for web development, enabling smooth data exchange between servers and clients. The correct design involves following key principles like statelessness, proper URI structuring, using HTTP verbs appropriately, and ensuring security measures such as HTTPS and token-based authentication. Additionally, effective error handling and versioning are crucial for maintaining API reliability and scalability. Understanding these concepts can lead to building performant and quality REST services.

  11. 11
    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.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    API Design: From Basics to Best Practices

    Learn about API design principles, understand different types of APIs, and discover best practices for creating efficient, secure, and easy-to-use interfaces.

  13. 13
    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.

  14. 14
    Article
    Avatar of substackSubstack·2y

    GraphQL Explained

    GraphQL is a modern query language and server-side runtime that offers a more efficient, powerful, and flexible alternative to traditional REST APIs. It allows clients to request exactly the data they need through a single endpoint, supports real-time updates, and uses a strongly typed schema to ensure predictable and reliable queries. These features make it a popular choice for contemporary web development.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    Alliedium/awesome-software-engineering: A curated list of awesome software engineering resources.

    A curated list of awesome software engineering resources, including topics such as BGP, TLS certificates, ACME, TCP, VXLAN, REST API, GraphQL, and more.

  16. 16
    Article
    Avatar of communityCommunity Picks·2y

    Difference between GraphQL, REST, and gRPC

    This post discusses the differences between REST, GraphQL, and gRPC. It explains the core concepts of each protocol, their strengths and weaknesses, and provides use cases for when to use them.

  17. 17
    Article
    Avatar of collectionsCollections·2y

    Comparing the Advantages of GraphQL, gRPC, and REST API Architectures

    Comparison of advantages and disadvantages of GraphQL, gRPC, and REST API architectures. Recommendations on when to use each.

  18. 18
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    Refit in .NET: Building Robust API Clients in C#

    Refit is a type-safe REST library for .NET that simplifies interacting with APIs by turning them into interfaces. This reduces boilerplate code, handles serialization automatically, and makes API calls more readable and maintainable. The post provides steps to set up Refit, including installing necessary packages, defining an interface for API calls, configuring dependencies, and handling query parameters, headers, and authentication. Refit also offers options for JSON serialization and more control over HTTP responses.

  19. 19
    Article
    Avatar of substackSubstack·2y

    Rest vs GraphQL

    The post discusses the differences between REST and GraphQL, factors to consider when choosing between them, and the possibility of using both in a project. It concludes that REST is likely to be used in the next project.

  20. 20
    Article
    Avatar of devtoDEV·1y

    The All-in-One Fake API for developers.

    FooApi is an emerging platform providing realistic dummy data for various categories like users, products, posts, comments, to-dos, images, movies, and geo-coordinates for cities and countries. Developers can access this data through REST endpoints and GraphQL queries to mock their projects and ideas. The project is still under development, and updates are periodically shared. Users can practice queries on the playground provided on the site.

  21. 21
    Article
    Avatar of mlnewsMachine Learning News·1y

    Meet Steel.dev: An Open Source Browser API for AI Agents and Apps

    Steel.dev is an open-source tool that simplifies web automation for AI applications by abstracting complex browser interactions through a RESTful API. It reduces the need for detailed scripts and expertise in frameworks like Puppeteer, Selenium, and Playwright. The tool features a modular architecture that allows easy management and interaction with headless browsers, facilitating tasks such as data extraction and form completion while ensuring scalability for large-scale projects.

  22. 22
    Video
    Avatar of nickchapsasNick Chapsas·2y

    Forget Controllers and Minimal APIs in .NET!

    Learn how to get started with building APIs in .NET using the alternative to controllers and minimal APIs called Fast End Points. Fast End Points is a developer-friendly alternative that nudges you towards the request and response pattern and offers better performance than controllers. Discover the basic registration process and how to implement endpoints for getting all movies, getting a single movie, and creating a movie.

  23. 23
    Article
    Avatar of pointerPointer·2y

    Orange-OpenSource/hurl: Hurl, run and test HTTP requests with plain text.

    Hurl is a command line tool that runs HTTP requests defined in a simple plain text format. It can be used to fetch data, test HTTP sessions, and work with HTML content, REST/JSON APIs, GraphQL, and SOAP APIs. Hurl can also be used to test performance, check response bytes, integrate in CI/CD, and more. It is powered by the curl library and provides a fast and efficient way to perform HTTP requests.

  24. 24
    Article
    Avatar of rpythonReal Python·2y

    Interacting With REST APIs and Python – Real Python

    The post outlines a comprehensive video course on interacting with REST APIs using Python. It covers the REST architecture, methods to consume data from REST APIs using the `requests` library, steps to build your own REST APIs, and popular Python tools for API development. The course includes 15 lessons, subtitles, transcripts, downloadable resources, and a Q&A section with Python experts.

  25. 25
    Article
    Avatar of lnLaravel News·2y

    Laravel Rest Api now supports Laravel Scout

    Laravel Rest Api now natively integrates with Laravel Scout, enabling full text search from the front-end by specifying 'search.text.value' in API requests. This feature supports other Laravel Rest Api capabilities such as filters, sorts, selects, includes, aggregates, and pagination, making it a powerful tool for managing APIs in Laravel.