{"id":13491658,"url":"https://github.com/apibrew/apibrew","last_synced_at":"2025-04-07T15:11:17.294Z","repository":{"id":65552187,"uuid":"591665560","full_name":"apibrew/apibrew","owner":"apibrew","description":"APIBrew is Low code software to automate building CRUDs from yaml files","archived":false,"fork":false,"pushed_at":"2024-07-05T06:48:54.000Z","size":34169,"stargazers_count":234,"open_issues_count":12,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-08T10:56:29.758Z","etag":null,"topics":["api","application-builder","code-generation","crud","grpc","low-code","low-code-platform","nodejs","openapi","openapi3","rest","rest-api","restful","restful-api","swagger","typescript"],"latest_commit_sha":null,"homepage":"https://apibrew.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apibrew.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-21T13:22:13.000Z","updated_at":"2024-07-17T10:49:28.700Z","dependencies_parsed_at":"2023-09-24T09:58:17.413Z","dependency_job_id":"3acad306-a384-4724-832c-ea5593f6e695","html_url":"https://github.com/apibrew/apibrew","commit_stats":null,"previous_names":["tislib/data-handler","tislib/apibrew"],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apibrew%2Fapibrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apibrew%2Fapibrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apibrew%2Fapibrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apibrew%2Fapibrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apibrew","download_url":"https://codeload.github.com/apibrew/apibrew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675609,"owners_count":20977378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","application-builder","code-generation","crud","grpc","low-code","low-code-platform","nodejs","openapi","openapi3","rest","rest-api","restful","restful-api","swagger","typescript"],"created_at":"2024-07-31T19:00:59.095Z","updated_at":"2025-04-07T15:11:17.272Z","avatar_url":"https://github.com/apibrew.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/apibrew/apibrew/master/static/ApiBrew%20Logo.svg#gh-light-mode-only\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/apibrew/apibrew/master/static/ApiBrew%20Logo-dark.svg#gh-dark-mode-only\"\u003e\n\u003c/p\u003e\n\n# Api Brew    -    https://apibrew.io\n[![build](https://github.com/apibrew/apibrew/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/apibrew/apibrew/actions/workflows/build.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/apibrew/apibrew)](https://goreportcard.com/report/github.com/apibrew/apibrew)\n[![Go Reference](https://pkg.go.dev/badge/github.com/apibrew/apibrew.svg)](https://pkg.go.dev/github.com/apibrew/apibrew)\n[![Docker Pulls](https://img.shields.io/docker/pulls/tislib/apibrew)](https://hub.docker.com/r/tislib/apibrew)\n[![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/tislib/apibrew)](https://hub.docker.com/r/tislib/apibrew)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/apibrew/apibrew)\n![GitHub](https://img.shields.io/github/license/apibrew/apibrew)\n\nDocs: https://apibrew.io/docs/getting-started\n\nNano Code Repository: https://github.com/apibrew/nano\n\nGetting Started Video: https://www.youtube.com/watch?v=6iJ5qCUbdgs\n\n\n## Introduction\n\n**Everything is a *Resource***. And **Everything has a *CRUD API***\n\nWith API Brew, you can create CRUD APIs for your data in a few minutes\n\n### Run your instance\n\n```shell\ndocker run -v $(pwd)/data:/var/lib/postgresql/data -p 9009:9009 tislib/apibrew:full-latest\n```\n\nYour instance is ready: Swagger docs: http://localhost:9009/docs/swagger\n\n### Create first resource\n\nConfigure Apbr cli: https://apibrew.io/docs/cli\n\ncountry.yml\n```yaml\ntype: resource\nname: Book\nproperties:\n  title:\n    type: STRING\n    unique: true\n    required: true\n  description:\n    type: STRING\n```\n\n```bash\napbr apply -f country.yml\n```\nSo you are ready, you have fully established Rest API for book resource\n\n\u003cimg src=\"https://apibrew.io/files/book-swagger.png\" width=\"300\"/\u003e\n\nYou can build entire application with resources and references between them (like relations in relational databases)\n\n### Change its behaviour with power of nano code\n\nEverything can be written by resources, not?\n**Let's extend our Book resource with help of nano code**\n\nBookLogic.js\n```javascript\nconst book = resource('Book')\n\nbook.beforeCreate((book) =\u003e {\n  if (!book.description) {\n    book.description = 'No description'\n  }\n});\n```\n```bash\napbr deploy -f BookLogic.js --override\n```\n\nSee the docs for nano: https://apibrew.io/docs/nano\n\nSo we have extended our book resource with help of nano code\n\nSo, with **API Brew**, you can create your application with resources and you can customize behavior of your resources with extensions\n\n## About\nAPI Brew is a **Low Code software** that allows to create various Grpc and Rest APIs from various database platforms\n\n## Features\n\n* ***Declarative*** - *API Brew* is declarative. You can define your schema in a declarative way, it will create your APIs\n* ***Low Code*** - With API Brew, you can create APIs for your data without coding. But you can also extend your APIs with\n  extensions, so you can customize behavior of your Resources/Apis\n* ***Rest API*** - As you create resources, Rest Apis for them is made automatically\n* ***Grpc*** - As you create resources, Grpc Apis for them is made automatically\n* ***Database agnostic*** - API Brew is using Postgresql database by default, but it also supports various databases. Including Mongo, Mysql, Redis, etc.\n* ***CRUD*** - Crud is on the heart of API Brew.\n* ***Swagger*** - Swagger docs are generated automatically\n* ***Authentication*** - API Brew supports various authentication methods. Including JWT authentication etc.\n* ***Authorization*** - API Brew supports authorization. You can define permissions for your resources\n* ***Multi Database*** - You can define multiple databases and do operations on top of them\n* ***Scalable*** - API Brew is scalable. You can run it on multiple instances, and it will work as expected, as API Brew does not have any data internally, you can scale it.\n* ***Extensible*** - API Brew is extensible. You can extend your resources with extensions. You can also extend your APIs with extensions\n* ***CLI support*** - API Brew has a cli tool to manage your resources, dataSources, etc. It is called `apbr`\n* ***Docker*** - API Brew is dockerized. You can run it on docker\n* ***Docker Compose*** - API Brew is docker-compose ready. You can run it on docker-compose\n* ***Kubernetes*** - API Brew is kubernetes ready. You can run it on kubernetes\n\n## Use Cases\n\n* Creating backend for your mobile application or website\n* Creating backend for your existing database\n* Managing your data in a CRUD fashion\n* Creating Standardized, well documented APIs for your data\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapibrew%2Fapibrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapibrew%2Fapibrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapibrew%2Fapibrew/lists"}