asserted
  • Getting Started
  • Test Time Calculation
  • Environment Variables
  • Concepts
  • Reference
    • asrtd CLI
    • .asserted directory
    • routine.json
    • Dependencies
  • Full Examples
    • Overview
    • REST
    • GraphQL
    • Socket.IO
    • gRPC
Powered by GitBook
On this page

Was this helpful?

  1. Full Examples

Overview

PreviousDependenciesNextREST

Last updated 4 years ago

Was this helpful?

Each of the full examples included here follows a similar template, and none of them require an account to try them out locally.

They all include a functional but simple server exposing the features to be demonstrated, and tests in the directory that show how to deeply test these features.

To try out any of them, just do the following:

  • git clone the relevant repo

  • execute npm install inside the repo (this will install the server dependencies, and the asserted dependencies)

  • execute npm run test:asrtd inside the repo to start the server and run all of the example tests

Full Examples

  • with authentication

.asserted
Standard REST or HTTP API
GraphQL API
Socket.IO API
gRPC API