Getting started

Before learning about how to write a todo client across the hypermedia API, let’s start by running the existing one.

The live demo:

todo app

Run demo server and client

Install dependencies

All dependencies are documented in this Readme and include:

Start applications

  1. Start the database.

You can view this in a browser on http://localhost:8000

  1. Build and run the project with the following environment variables.
    ASPNETCORE_ENVIRONMENT: Development
    ASPNETCORE_URLS: http://localhost:5000
  1. Build and run the client commandline with yarn (or through the IDE, eg WebStorm).

It will open a browser in http://localhost:8080

At some stage, you will need to authenticate. The credentials are at the top of the page.

Next Chapter

Client-side URLs and routing

Design your application around the holding and reconstructing client state through the URI in the browser location requires matching client views and the data it requires

Go to next chapter