Code Monkey home page Code Monkey logo

api-driven-development's Introduction

API Driven Development

Chapters

01. Preparing your environment

In this chapter you'll have the opportunity to get familiar with nodejs. Here you'll learn the following:

  • The basics of JavaScript
  • The basics of node (asynchronous i/o, http, stream)
  • The basics of npm
  • The basics of Git and GitHub

02. Hello TodoMVC

The example we will be following is based on making the modern Hello World -- the TodoMVC frontend application. To start off our API, we will begin by mocking a JSON data store.

03. A brief introduction to web frameworks with Koa

We chose Koa since it is a very small framework that enables you to write simple, yet powerful APIs using the node modules ecosystem.

04. CRUD endpoints

In this example, we'll set up a few endpoints for our application. They will allow us to: list todos, add a todo, update a todo and delete a todo.

05. Testing your API like a pro

When it comes to Software Development there is nothing more valuable than a fast and well done test suite. In this chapter we'll introduce you to integration testing where you can understand how to develop software without being afraid of breaking things.

06. Nothing is finished until its perfect

A good project needs at least an README.md, CHANGELOG.md and well-defined coding standards (eg: .jshintrc).

Authors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.