XgeneCloud – Instant REST and GraphQL APIs on Any SQL Database
source link: https://github.com/xgenecloud/xgenecloud
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
XgeneCloud
Instant REST & GraphQL APIs on any Database
Website • Documentation • Newsletter • Discord • Twitter • Download App
Supported Databases
- MySQL, PostgresSQL, MSSQL, SQLite, MariaDb
Usage
Install CLI
$ npm install -g xc-cli
Install & Open GUI (Built in Database & API Client)
$ xc app.install $ xc app.open
GUI Installation Notes
- For Mac : Move the installed application to applications folder
- For Windows : Install into default paths (program files) and open app manually by going to program files.
- For Linux : Install into default path
Generate REST/GraphQL APIs Instantly
$ xc new project-name
For Help
$ xc man
Demo 1 : Generate REST APIs on existing MySQL Database
Demo 2 : GUI for Database Design and Scaffolding APIs
Demo 3 : Generate GraphQL APIs on existing MySQL Database
What is XgeneCloud ?
XgeneCloud consists of Three simple & amazing products :
- An Instant API Framework that can generate REST & GraphQL on any database
-
A GUI based fully-featured Database & API Client
- GUI DB Client enables - Point & Click schema design & schema migrations.
- GUI API Client to debug APIs.
-
A Hybrid Serverless Framework
!
- All APIs generated can be deployed as Serverless Functions on any Cloud Platform!
- This is without changing any change to source code generated.
A Simple Overview
A Detailed Overview
Table Of Contents
- Setup
- Architecture
- REST APIs Framework
- GraphQL API Framework
- Database
- Hybrid Serverless API Framework
- API Client
- CLI
All Demos : Instant APIs on other SQL databases
Database REST APIs Demo GraphQL APIs DemoFeature Demos : Others
Feature Links Setup API Client History API Client Collections API Performance Test Database Client Design Database Client Migrations Smart Terminal Themes : Dark Themes : Colors Themes : Custom Colors Multi Environment projectYoutube PlayLists
Playlist Link Instant Rest APIs Click here Instant GraphQL APIs Click here Database Client - Desktop App Click here Smart Terminal Click here Themes Click hereServerless Platforms Supported
Cloud Platform Serverless Serverless Containers AWS Fargate GCP Cloud Run Azure Function App Container Zeit Alibaba Alibaba Serverless KubernetesGenerating REST APIs for MySQL Database Using CLI
Generating REST APIs for MySQL Database Using GUI
Generating REST APIs for Postgres Database Using CLI
Generating REST APIs for Postgres Database Using GUI
Generating REST APIs for MSSQL Database Using CLI
Generating REST APIs for MSSQL Database Using GUI
Generating REST APIs for SQLite Database Using CLI
Coming Soon...
Generating REST APIs for SQLite Database Using GUI
Generating REST APIs for Multiple Databases Using GUI
Scaffolding for a Table
Scaffolding for a Table : CLI
Generating REST APIs for Multiple Databases Using CLI
Generating GraphQL APIs for MySQL Database Using CLI
Generating GraphQL APIs for MySQL Database Using GUI
Generating GraphQL APIs for Postgres Database Using CLI
Generating GraphQL APIs for Postgres Database Using GUI
Generating GraphQL APIs for MSSQL Database Using CLI
Generating GraphQL APIs for MSSQL Database Using GUI
Generating GraphQL APIs for SQLite Database Using CLI
Coming Soon...
Generating GraphQL APIs for SQLite Database Using GUI
Generating GraphQL APIs for Multiple Databases Using GUI
Coming soon...
Generating GraphQL APIs for Multiple Databases Using CLI
Coming soon...
Scaffolding for a Table : GQL
Scaffolding for a Table : GQL CLI
GraphQL : ACL
REST : ACL
Swagger
Setup
API Client History
API Client Collections
API Performance Test
Database Client Design
Database Client Migrations
Smart Terminal
Themes : Dark
Themes : Colors
Themes : Custom Colors
Multi Environment project
Serverless Deployment
AWS Lambda Deployment
-
Open
server/config/default.config.js
and setaws.lambda
to true and change other cloud serverless platform values asfalse
. -
Install AWS cli & authenticate
-
Open
serverless.yml
file and do the necessary changes. -
npm run aws:lambda
Azure Function App
npm install -g azure-functions-core-tools npm run azure:deploy
GCP Cloud Function
npm run gcp:fn
Zeit Now
-
Install Zeit now library and authenticate using email.
-
Add
production
environment inconfig.xc.json
"envs": { "production": { "db": [ { "client": "mysql", "connection": { "host": "localhost", "port": "3306", "user": "root", "password": "password", "database": "sakila" }, "meta": { "tableName": "_evolutions", "dbAlias": "primary" } } ], "api" : {} } },
-
npm run zeit:now
Alibaba Function Compute
-
Install
fun
cli toolnpm install @alicloud/fun -g
-
Setup alibaba account configuration in cli using
fun config
( https://www.alibabacloud.com/help/doc-detail/64204.htm ) -
Run
npm run ali:fn:compute fun deploy
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK