Turn any database into a GET-able Rest API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
exsersewo ad4f1def12 Update azure-pipelines.yml 4 years ago
.github Async/Await TableController, mv LICENSE, fix pipeline 4 years ago
src Async/Await TableController, mv LICENSE, fix pipeline 4 years ago
.dockerignore Add Docker 4 years ago
.env.default Add Docker 4 years ago
.gitignore Initial commit 4 years ago
LICENSE Async/Await TableController, mv LICENSE, fix pipeline 4 years ago
NuGet.config Update NuGet.config 4 years ago
azure-pipelines.yml Update azure-pipelines.yml 4 years ago
docker-compose.yml Add Docker 4 years ago

.github/README.md

RestAPI


Build Status Codacy Badge

A Restful GET-only database agnostic API provider built with ASP.Net & .Net 5.0; Inspiration from: project-open-data/db-to-api

Supports


Output

HTML, JSon, XML

Databases

Currently Supported

MariaDB, MySql, MongoDB, PostgreSQL

In Development

Firebird, SQLite, IBM, Informix, MS SQL Server, ODBC/DB2, Oracle, CUBRID, 4D

Self Hosting


Prerequisites
  • Visual Studio >= 2019
  • .Net Version >= 5.0
  • (If Docker; Docker & Docker Compose)

Development Builds

  1. Clone the dev branch
  2. Open /src/RestAPI.sln within Visual Studio
  3. Build the solution
  4. Copy /.env.default into output/.env
  5. Follow the steps for Consumer Releases from Step 3. onwards

Consumer Releases (non Docker)

  1. Download the latest release
  2. Copy /.env.default into /.env
  3. Run RestAPI.exe or dotnet RestAPI.dll
  4. 🎊 You now have a working instance of RestAPI 🎊

Consumer Releases (with Docker)

  1. Download the latest release
  2. Copy .env.default into .env
  3. Configure the .env file
  4. Run docker-compose up
  5. 🎊 You now have a working instance of RestAPI 🎊