Giter VIP home page Giter VIP logo

genezio-adapters's Introduction

Genezio Adapters for Web Frameworks

This project provides a set of adapters that enable the integration of the Genezio platform with popular web frameworks such as Express, Fastify, and more. These adapters are designed to facilitate the handling of Genezio RPC requests within these frameworks, allowing for a seamless and efficient integration.

Features

  • Express Adapter: Leverages the power of Express to handle Genezio RPC requests with ease.
  • Fastify Adapter: Utilizes the high-performance Fastify framework for efficient Genezio RPC handling. [in progress]
  • Easy Integration: Simple and straightforward integration process with your existing web application.
  • Flexible Configuration: Adaptable to various use cases and configurations.
  • Scalable: Designed to handle high loads, making it suitable for both small and large-scale applications.

Installation

Install the adapter for your desired web framework using npm:

npm install @genezio/adapters

Usage

import  express from 'express';
import * as genezioAdapters from "@genezio/adapters";
import { HelloWorldService } from './hello.js';
import { ProductService, ShoppingCardService } from './hello.js';
const app = express();
const port = 8881;

app.use(express.json());
app.post('/genezio', genezioAdapters.createExpressRouter([HelloWorldService, ProductService, ShoppingCardService]));

app.listen(port, () => {
    console.log(`Example app listening at http://localhost:${port}`);
});

Contributing

Contributions are welcome!

genezio-adapters's People

Contributors

vladiulianbogdan avatar

Watchers

 avatar  avatar Andreia Ocănoaia 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.