Automatic restful API from a Database (Work in progress)
it's a CLI application, so we need a nice interface
python gatekeeper.py [mode] [arguments]
python gatekeeper.py build - read the database and writes the config file
python gatekeeper.py run - read the config file and run the server
python gatekeeper.py buildrun - read the database, writes the config file and run the code
-ns or --nosec - means no security JWT and Basic auth
-n or --nojwt - Basic auth only
build.gk is the default name for the config file. it contains:
- A header
- A security Token
- The tables and Fields