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 🎊
Description
Turn any database into a GET-able Rest API
Readme 55 KiB
2021-02-02 19:51:54 +00:00
Languages
C# 98.3%
Dockerfile 1.7%