Metadata-Version: 2.1
Name: instantAPI
Version: 1.0.1
Summary: instant way to create a flask api for your databases
Home-page: https://github.com/SAVE-POlNT/instantAPI
Author: Mehdi YAHIA CHERIF
License: GPLv3
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown

# instantAPI
## Description

A scripts that generates a fully functional flask api from databases;the script is ready to use in production environement right after it ; you can add yout jwt security token and tweek some code but the rest is already there (sqlite3 for the moment and looking for contributers)       

## Dependencies

* * *

*   sqlite3
*   python3.x

## installation

* * *

no installation needed   

## usage

* * *

    python instantAPI.py link/to/your/sqlite3/database.db

## example

before execution:

  ![](./img/e4c299f4-0db0-41e7-89d7-e72b6989a6a5.PNG)  
after execution:

  ![](./img/8b73e8c3-ac16-44b4-9840-3ec395d9f4d9.PNG)  

the reparation_models.py contains the api for your database (get and post methods for all tables)example of one table :  
![](./img/4440c06e-b36a-4ffa-b7c4-d030d0b7b4e4.PNG)  
the name of the classes are the name of the db table+List and the links have the same name as your databases  


for more examples make sure you test it your self or see the example folder
* * *

# Before using

make sure your databasesâ€™s tables all contain an auto incremental index.


