DeveloperBreeze

Api Development Development Tutorials, Guides & Insights

Unlock 4+ expert-curated api development tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your api development skills on DeveloperBreeze.

Getting Started with Pydantic: Data Validation and Type Coercion in Python

Tutorial August 29, 2024
python

You can use field aliases to allow for different input names:

class User(BaseModel):
    id: int
    full_name: str = Field(alias='name')

Building a RESTful API with Go and Gorilla Mux

Tutorial August 12, 2024
go

Create a new file named models.go to define the data structure for a book:

package main

type Book struct {
	ID     string `json:"id"`
	Title  string `json:"title"`
	Author string `json:"author"`
	Year   string `json:"year"`
}

Building a GraphQL API with Node.js and Apollo Server

Tutorial August 12, 2024
javascript nodejs graphql

To implement subscriptions, you'll need to install additional packages for WebSocket support:

npm install apollo-server-express graphql-subscriptions subscriptions-transport-ws

Creating a Simple REST API with Flask

Tutorial August 03, 2024
python

  curl http://127.0.0.1:5000/api/items/1
  • Create a new item: