Skip to content

Latest commit

 

History

History

examples

Jitar | Examples

To get started with Jitar we've created examples to explain and demonstrate the concepts of Jitar. We advice to study these examples in the order they're specified below.

Note: All examples are in TypeScript. If you're not familiar with TypeScript, the examples should still be understandable.

Requirements

In order to run the examples you need to have the following installed:

Most examples do not have an UI to keep them simple and focussed. For running these examples the PRC API will be used. A requests.http file is provided containing example requests to call the procedures. We use Visual Studio Code with the REST Client extension to run these requests. But you can use any http client like Postman.

Projects

The following projects focus on one particular concept at a time. The examples are kept simple to explain the concept.

  1. Hello Word - Demonstrates how to create a procedure and call it using the RPC API.
  2. Segmentation - Demonstrates how to split an application into multiple segments.
  3. Load balancing - Demonstrates how to load balance segments.
  4. Access protection - Demonstrates how to protect the access to a procedure.
  5. Multi Version - Demonstrates how to create multiple versions of a procedure.
  6. Data Transportation - Demonstrates how to transport data between segmented procedures.
  7. Error handling - Demonstrates how to the error handling works.
  8. Health checks - Demonstrates how to use health checks.
  9. Middleware - Demonstrates how to use middleware.
  10. Cors - Demonstrates how to enable cors.
  11. Construction - Demonstrates how to use a set up and tear down scripts.