Mastering API Development: A Step-by-Step Guide

Table of Contents

Getting Started

JSON

fetch = require('node-fetch')

fetch('https://api.github.com/repos/zweifisch/ob-coffee/languages')
  .then(res => res.json())

Database

  select id, username from users;

Login and Users

  POST http://localhost:8080/login
  Accept: application/json
  Content-Type: application/json
  {
    "username": "test@jwalsh.net",
    "password": "password"
  }

Core Tasks

Integrating with Angular

Mocking

Validating the API

Testing the Specification

Releasing Changes

Author: Jason Walsh

j@wal.sh

Last Updated: 2024-10-30 16:43:54