Giter Club home page Giter Club logo

yap-docs's Introduction

description
The community supports development of Yap – micro-services API gateway – the core project of Young App.

Yap community

Less code, safer API

Join the community on Spectrum contributions welcome GitHub Workflow Status (branch) Codacy Badge GitHub last commit Requirements Status

Yap is the lightweight microservices API gateway that shines at the heart of any microservices or serverless architecture, which aims to be a smaller, more expressive, and more robust foundation for API management and automation workflows with low-code approach and security.

{% hint style="warning" %} You can contribute or click ⭐️ on GitHub to support us. The first release to be available early February. Follow our news 🏅 on Twitter. {% endhint %}

{% hint style="info" %} Please distinguish:
Yap – the core project of Young App.
YAP – the platform of Young App. {% endhint %}

Motivation

Young App helps to automate business workflows across cloud and on-premise apps providing employees with prompt communication and building in teams sophisticated collaboration. As an illustration, YAP automates quotes processing for cash business, which may involve multiple apps.

Without API Management, we using Express, Koa or Hapi on Nodejs without security security handler, and all others NodeJS frameworks are based on http module, yap is different, designed only for serverless functions (event-driven).

Key features of Yap project 🙌

Yap offers powerful, yet lightweight features that allow fine-grained control over your API ecosystem.

****◽ Elegant XML policies
The powerful capability of the system that allows the publisher to change API behavior through configuration in elegant XML files.

GraphQL as API gateway
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. Yap use only GraphQL as API Gateway.

Connectors
YAP is the only integration platform that was built from the ground to support a single design interface for developer/IT and for citizen integrators.

Designed for serverless
Yap is designed for serverless event functions on AWS, GCP, or Azure functions.

Installing

It's an official version for JavaScript, available for Node.js backends, Serverless and AWS Lambda.

With yarn

yarn install yap

With npm

npm install yap

Hello API

Yap application is an object containing resolvers functions and policies which are composed and executed in a stack-like manner upon request. Yap is similar to many other middleware systems that you may have encountered such as Koa, Connect.

Minimalist application with http.Server

import { Yap } from "@youngapp/yap";
import typeDefs from "./schema.graphql";
import resolvers from "./resolvers.ts";

// Your schema definition and resolvers GraphQL
const app = new Yap({ typeDefs, resolvers });

app.listen(3000, () => {
  console.log('Example app listening on port 3000!')
})

With AWS Lambda

import { Yap } from "@youngapp/yap";
import typeDefs from "./schema.graphql";
import resolvers from "./resolvers.ts";

// Your schema definition and resolvers GraphQL
const app = new Yap({ typeDefs, resolvers });

// A simple handler for AWS Lambda.
exports.handler = app.handler;

Find more details on Usage guide

Enjoy 🎉

Documentation

Opening issues

If you encounter a bug with YAP, we would appreciate if you inform us about it. Before opening a new issue, please go through existing issues to find the solution right away if your problem was solved before.

Attach the following details if appropriate:

  • SDK, Node.js
  • Environment and OS
  • Stack trace

The GitHub issues are intended for bug reports and feature requests. For quick help and questions on using the Yap SDK for JavaScript, please use the resources listed within Getting Help section. The time of our support experts is rushingly flying but even so, they would like to help you in time, and therefore, will appreciate your help in applying for support reasonably by providing full details and excluding duplicated issues.

Contribute

Yap is the open source and we love contributions! If you have an idea for a great improvement or spy an issue you’re keen to fix, follow our Contributing Guide.

No contribution is too small – we encourage you to provide feedback and report issues.

Community support 🌍

For general help using Yap, please refer to the official Yap documentation. For additional help, you can use one of these channels to ask a question:

License

This SDK is distributed under Apache License 2.0. See LICENSE.txt for more information.

yap-docs's People

Contributors

gitbook-bot avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.