Skip to content

Pipend/pipend-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipe Web Server

Setup

Server Configuration

mkdir -p ./configs
echo '{
  "localhost": {
    "tag": "PostgreSQL",
    "contents": {
      "connectionString": "postgres://127.0.0.1"
    }
  }
}' > ./configs/connections.json

Build

stack setup
stack build
stack exec pipend-server-exe

Usae Examples

Check test for more examples.

Running a Query with pre-defined Connection

curl \
  --data '{"executableQueryText":"select 5 * 7","executableQueryParams":{}}' \
  ":3000/api/query/connection/localhost/taskid/taska"

Killing a Query

curl ":3000/api/kill/taska"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published