Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 1.49 KB

facade.md

File metadata and controls

28 lines (22 loc) · 1.49 KB

Facade

The facade contains common functions for storage and retrieval of entities from a repository.

This package also contains some utility functions outside of the Facade that you might find useful.

The facade in this package is a TypeScript interface, but concrete implementations of the interface are listed below.

  • Memory - This is useful for testing client/server side.
  • Mongo - Uses the MongoDB Node JS driver.
  • Knex - For SQL databases.
  • Axios - For sending HTTP requests to a HTTP interface for entities.
  • Express - For receiving HTTP requests at a HTTP interface for entities.