All Projects → b2wdigital → Restql Http

b2wdigital / Restql Http

Licence: mit
Microservice query language

Programming Languages

java
68154 projects - #9 most used programming language
clojure
4091 projects

Projects that are alternatives of or similar to Restql Http

Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (-80.83%)
Mutual labels:  rest, microservice
Spring Microservice Sample
Spring Boot based Mircoservice sample
Stars: ✭ 199 (-74.91%)
Mutual labels:  rest, microservice
Thehive
TheHive: a Scalable, Open Source and Free Security Incident Response Platform
Stars: ✭ 2,300 (+190.04%)
Mutual labels:  rest, orchestration
Fusio
Open source API management platform
Stars: ✭ 946 (+19.29%)
Mutual labels:  rest, microservice
Kanary
A minimalist web framework for building REST APIs in Kotlin/Java.
Stars: ✭ 319 (-59.77%)
Mutual labels:  rest, microservice
Gemini
Model Driven REST framework to automatically generate CRUD APIs
Stars: ✭ 138 (-82.6%)
Mutual labels:  rest, microservice
Proteus
Lean, mean, and incredibly fast JVM framework for web and microservice development.
Stars: ✭ 178 (-77.55%)
Mutual labels:  rest, microservice
Go Restful Api
An idiomatic Go REST API starter kit (boilerplate) following SOLID principles and Clean Architecture
Stars: ✭ 1,043 (+31.53%)
Mutual labels:  rest, microservice
Just Api
💥 Test REST, GraphQL APIs
Stars: ✭ 768 (-3.15%)
Mutual labels:  rest, microservice
Go Grpc Http Rest Microservice Tutorial
Source code for tutorial "How to develop Go gRPC microservice with HTTP/REST endpoint, middleware, Kubernetes deployment, etc."
Stars: ✭ 250 (-68.47%)
Mutual labels:  rest, microservice
Genie
Distributed Big Data Orchestration Service
Stars: ✭ 1,544 (+94.7%)
Mutual labels:  microservice, orchestration
Gearbox
Gearbox ⚙️ is a web framework written in Go with a focus on high performance
Stars: ✭ 455 (-42.62%)
Mutual labels:  rest, microservice
Tenso
Tenso is an HTTP REST API framework
Stars: ✭ 167 (-78.94%)
Mutual labels:  rest, microservice
Generators
API Generator - instantly generate REST and GraphQL APIs (openapi (OAS) 3.0.0)
Stars: ✭ 213 (-73.14%)
Mutual labels:  rest, microservice
Typescript Rest
This is a lightweight annotation-based expressjs extension for typescript.
Stars: ✭ 458 (-42.24%)
Mutual labels:  rest, microservice
Restheart
RESTHeart - The REST API for MongoDB
Stars: ✭ 659 (-16.9%)
Mutual labels:  rest, microservice
Spring Cloud Dataflow
A microservices-based Streaming and Batch data processing in Cloud Foundry and Kubernetes
Stars: ✭ 753 (-5.04%)
Mutual labels:  orchestration
Awesome Serverless
☁️ A curated list of awesome services, solutions and resources for serverless / nobackend applications.
Stars: ✭ 6,654 (+739.09%)
Mutual labels:  microservice
Pippo
Micro Java Web Framework
Stars: ✭ 743 (-6.31%)
Mutual labels:  microservice
Micro Analytics Cli
Public analytics as a Node.js microservice. No sysadmin experience required! 📈
Stars: ✭ 743 (-6.31%)
Mutual labels:  microservice

restQL

restQL-http is a server to run restQL queries, making easy to fetch information from multiple services in the most efficient manner

restQL on travis-ci

Getting Started

Running restQL HTTP

restQL server allows you to post ad-hoc queries and to reference resources pre-configured in the server startup.

  1. Make sure you have Java 11 or superior installed,
  2. Download the latest release in the release page,
  3. Unzip the package,
  4. Configure resource mappings,
  5. Run bin/run.sh.

Post to http://your-server.ip:9000/run-query the body below and content-type text/plain:

curl -H "Content-Type: text/plain" localhost:9000/run-query -d "from planets as allPlanets" 

For a more complex example follow this tutorial. Alternatively you can use our official docker image.

Our query language

The clause order matters when making restQL queries. The following is a full reference to the query syntax, available clauses and order.

[ [ use modifier = value ] ]

METHOD resource-name [as some-alias] [in some-resource]
  [ headers HEADERS ]
  [ timeout INTEGER_VALUE ]
  [ with WITH_CLAUSES ]
  [ [only FILTERS] OR [hidden] ]
  [ [ignore-errors] ]

e.g:

from search
    with
        role = "hero"

from hero as heroList
    with
        name = search.results.name

Learn more about restQL query language

Links

Reach the community

Who's talking about restQL

To Do

  • [ ] Create endpoints for creating and updating queries and resources (#178)
  • [X] Implement a soft cache reset when resources are created or updated (#179)
  • [ ] Unify cache locations in restQL-http (#180)

License

Copyright © 2016-2019 B2W Digital

Distributed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].