Skip to content

A scripts that generates flask api from databases (sqlite3 for the moment and looking for contributers)

License

Notifications You must be signed in to change notification settings

Mehdi-YC/instantAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:


after execution:

the reparation_models.py contains the api for your database (get and post methods for all tables)example of one table :

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.

About

A scripts that generates flask api from databases (sqlite3 for the moment and looking for contributers)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages