Api Brew - https://apibrew.io

build Go Report Card Go Reference Docker Pulls Docker Image Size (latest by date) GitHub release (latest by date) GitHub

Docs: https://apibrew.io/docs/getting-started

Nano Code Repository: https://github.com/apibrew/apibrew/modules/nano

Getting Started Video: https://www.youtube.com/watch?v=6iJ5qCUbdgs

Introduction

Everything is a Resource. And Everything has a CRUD API

With API Brew, you can create CRUD APIs for your data in a few minutes

Run your instance

docker run -v $(pwd)/data:/var/lib/postgresql/data -p 9009:9009 tislib/apibrew:full-latest

Your instance is ready: Swagger docs: http://localhost:9009/docs/swagger

Create first resource

Configure Apbr cli: https://apibrew.io/docs/cli

country.yml

type: resource
name: Book
properties:
  title:
    type: STRING
    unique: true
    required: true
  description:
    type: STRING
apbr apply -f country.yml

So you are ready, you have fully established Rest API for book resource

You can build entire application with resources and references between them (like relations in relational databases)

Change its behaviour with power of nano code

Everything can be written by resources, not? Let's extend our Book resource with help of nano code

BookLogic.js

const book = resource('Book')

book.beforeCreate((book) => {
  if (!book.description) {
    book.description = 'No description'
  }
});
apbr deploy -f BookLogic.js --override

See the docs for nano: https://apibrew.io/docs/nano

So we have extended our book resource with help of nano code

So, with API Brew, you can create your application with resources and you can customize behavior of your resources with extensions

About

API Brew is a Low Code software that allows to create various Grpc and Rest APIs from various database platforms

Features

Use Cases