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.
 
 
RestAPI/.github
exsersewo fd6597a0ec Async/Await TableController, mv LICENSE, fix pipeline 4 years ago
..
README.md Create README.md 4 years ago

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 🎊