Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (43 loc) · 2.46 KB

README.md

File metadata and controls

60 lines (43 loc) · 2.46 KB

discontiued please look at https://furo.pro/docs/guides/ebook-tutorial/

todo-client

This is the client project of the todo-server.

This application is for educational (showing the concepts) purposes only.

Usage

Install the dependencies with npm run install.

To start the development server just run npm run start. DO NOT FORGET TO START THE SERVER TOO.

This will start a dev. server on http://localhost:8080 with a proxy for /api which connects to :7001 (see the illustration below).

Look at the package json to see what other scripts are installed. For more details visit open-wc.org. We make heavy use of the standards defined there. It is also a good idea to read something about lit, because the furo components from the furo project uses lit element as a base for most of the components.

What you should see when you start the client with the todo-server

After starting the server and starting the client with npm run start you should see the development version of the client on http://localhost:8080.

Login with user demo and password 1234


Overview

                              You are here.
                             /
                            /
    :8080                  /
   +-------------------------+
   |                         |
   |       todo-client       |  <-----------------+
   |     (es dev server)     |                    |
   +-------------------------+                    |
                | /api proxies t          +----------------+
    :7001       v                         |   todo-specs   |
   +-------------------------+            +----------------+
   |                         |                    |
   |       grpc gateway      |  <-----------------+
   |                         |                    |
   +-------------------------+                    |
                |                                 |
    :7000       v                                 |
   +-------------------------+                    |
   |                         |                    |
   |       todo-server       |  <-----------------+
   |                         |
   +-------------------------+