Skip to content

Latest commit

 

History

History

.playground

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AlunaJS / Playground

Test things out quick and easy.

TL;DR

yarn playground

AlunaRC

Before moving on, be sure to set up your .alunarc:

Insomnia

Insomnia is a REST spec / explorer tool that we use for this purpose.

Let's get started:.

  1. Download and install Insomnia
  2. Install the dotenv plugin
  3. Then go to Data -> Import Data -> From File
  4. Import the file <repo-root>/.playground/aluna-spec.json file
  5. Voilà

Start the Server

This will start the Playground http server:

yarn playground

Explore API

On Insomnia, select the desired Exchange:

exchanges

Then try out all the available methods:

methods