All Projects → crocinc → Sql Boot

crocinc / Sql Boot

Licence: bsd-3-clause
Advanced REST-wrapper for your SQL-queries (actually not only SQL)

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Sql Boot

Nano Sql
Universal database layer for the client, server & mobile devices. It's like Lego for databases.
Stars: ✭ 717 (+1305.88%)
Mutual labels:  sql, nosql, rdbms
Android Nosql
Lightweight, simple structured NoSQL database for Android
Stars: ✭ 284 (+456.86%)
Mutual labels:  sql, nosql, db
Db
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Stars: ✭ 2,832 (+5452.94%)
Mutual labels:  sql, nosql, db
Cosyan
Transactional SQL based RDBMS with sophisticated multi table constraint logic.
Stars: ✭ 45 (-11.76%)
Mutual labels:  sql, nosql, rdbms
upscheme
Database migrations and schema updates made easy
Stars: ✭ 737 (+1345.1%)
Mutual labels:  schema, db, rdbms
Rdbms To Graphql
A Java CLI program that generates a GraphQL schema from a JDBC data source.
Stars: ✭ 44 (-13.73%)
Mutual labels:  schema, sql, rdbms
Sequelize
An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js
Stars: ✭ 25,422 (+49747.06%)
Mutual labels:  sql, nosql
Eralchemy
Entity Relation Diagrams generation tool
Stars: ✭ 767 (+1403.92%)
Mutual labels:  schema, sql
Opscloud
运维管理平台(阿里云),自动同步阿里云配置信息,堡垒机(容器),批量运维,Kubernetes,Zabbix管理等功能
Stars: ✭ 788 (+1445.1%)
Mutual labels:  rdbms, devops
Typeorm
TypeORM module for Nest framework (node.js) 🍇
Stars: ✭ 807 (+1482.35%)
Mutual labels:  sql, nosql
Jooq
jOOQ is the best way to write SQL in Java
Stars: ✭ 4,695 (+9105.88%)
Mutual labels:  sql, code-generator
Imdbpy
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies
Stars: ✭ 792 (+1452.94%)
Mutual labels:  sql, db
Node Pg Migrate
Node.js database migration management for Postgresql
Stars: ✭ 838 (+1543.14%)
Mutual labels:  sql, db
Node Sqlite
SQLite client for Node.js applications with SQL-based migrations API written in Typescript
Stars: ✭ 642 (+1158.82%)
Mutual labels:  sql, db
Yearning
🐳 A most popular sql audit platform for mysql
Stars: ✭ 5,963 (+11592.16%)
Mutual labels:  sql, devops
Qb
The database toolkit for go
Stars: ✭ 524 (+927.45%)
Mutual labels:  sql, db
Graphql Code Generator
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
Stars: ✭ 7,993 (+15572.55%)
Mutual labels:  schema, code-generator
Be Course 17 18
🎓 Backend · 2017-2018 · Curriculum and Syllabus 💾
Stars: ✭ 44 (-13.73%)
Mutual labels:  sql, nosql
Gorose
GoRose(go orm), a mini database ORM for golang, which inspired by the famous php framwork laravle's eloquent. It will be friendly for php developer and python or ruby developer. Currently provides six major database drivers: mysql,sqlite3,postgres,oracle,mssql, Clickhouse.
Stars: ✭ 947 (+1756.86%)
Mutual labels:  sql, db
Devops Exercises
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
Stars: ✭ 20,905 (+40890.2%)
Mutual labels:  sql, devops

Build Status Build status codecov License codebeat badge Codacy Badge Docker Pulls Main distribution Join the chat at https://gitter.im/sqlboot/Lobby EO badge DevOps By Rultor.com Hits-of-Code Scc Count Badge Mentioned in Awesome database tools

Treat your database as Code

There are many awesome REST-wrappers for your Databases (e.g. PostgREST, pREST, sandman2 and many others), but how about REST-wrapper for your own SQL-queries?

The sql-boot tool is a REST-like wrapper for your own SQL-queries. No ETLs, no generated SQL, no "automagic" - sql-boot simply transform your own SQL-query to Web resources.

sql-boot recursively finds every *.sql files in your folders and start REST-like service and runs scripts against live databases in response to http requests.

Example

Save you SQL-query to big_cities.sql:

select a.airport_code as code
     , a.airport_name
     , a.city
     , a.coordinates
     , a.timezone
  from bookings.airports a
 where a.city in (select aa.city
                    from bookings.airports aa
                   group by aa.city
                  having count(*) > 1)
 order by
       a.city
     , a.airport_code

Now sql-boot is ready to receive http requests (without restarting and other actions).

Execute query on "master_db" database:

master_db/big_cities.sql

Execute query against all registered databases:

.*/big_cities.sql

Execute query against all registered databases with specified columns:

.*/big_cities.sql?select=code,endpoint

Execute query with ordering:

master_db/big_cities.sql?select=code&orderby=code-desc

Execute query with pagination:

master_db/big_cities.sql?select=code&orderby=code-desc&page=1,3

Self-documentation

sql-boot uses the OpenAPI standard to generate up-to-date documentation for APIs based your SQL-queries metadata. You can use a tool like Swagger-UI or Swagger-Editor to render interactive documentation (for demo requests) or generate client API against the live API server.

How to pronounce

It is pronounced "sequelboot" - https://translate.google.com/?source=osdd#en/en/sequelboot

Try with Docker and embedded (H2) demo db:

docker run -t -p 8007:8007 mgramin/sql-boot

Build from source:

git clone https://github.com/mgramin/sql-boot
cd sql-boot
mvn package
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].