For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

REST

Common tests for REST APIs

Features of this Example

  • Basic authentication

  • Storing and Reading Environment Variables in Asserted

  • Test the list, create, get, update, and remove REST endpoints

Walkthrough

This example was referenced in a walkthrough about Node API Health Checks and Uptime

Try it out

Repo is available here.

# Clone example
git clone https://github.com/assertedio/node-uptime

# Enter directory and install
cd graphql-uptime/
npm install

# Run asserted tests
npm run test:asrtd

Tests

Can also be viewed on github here.

Last updated