Skip to content

ghas-results/papiea-js-example

 
 

Repository files navigation

papiea-js-example

This is an example of how to use papiea:

  1. location_provider_example.ts - is an example provider
  2. location_client_example.ts - is an example client which uses this provider
  3. entity_client.ts - is an example how easily a client can wrap the REST apis elegantly
  4. docker-compose.yml - shows how to configure papiea+mongo with a provider

Usage

  1. Clone the repo
  2. npm install
  3. docker-compose up -d --build - Start docker-compose, which starts papiea, mongo and the example provider:
  4. From your browser, go to http://localhost:3333/api-docs to see the exported apis. You can play around, creating entities, changing them or invoking procedures on them.
  5. docker-compose exec location-example npm run run_client - Once you can see the provider in the browser, you can run this command.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.0%
  • Shell 4.8%
  • Dockerfile 1.2%