Severity: Warning
Message: fopen(/tmp/ci_sessionlhmtg6dt21i2vmufgp0s24sbig3f4kk9): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
By Raagan U
A REST API built using flask and flask-sqlalchemy for Database Management, flask-marshmallow to serialize data for easy processing.
This basic and complete rest_api can be used anywhere and be devloped more with required features. SQL-Alchemy is a ORM ( Object_Relational_Mapper ) for easy data management without the need of coding SQL Statements into the script. The alternative to a SQL Backend is a NoSQL and the best resource is Mongo-Db. Marshmallow is used for serializing the data to make flow of data more easier. This REST api has six endpoints with the all the basic and most-used five http methods GET,POST,PUT,PATCH,DELETE and a simple db with a table of 3 fields.
Dependencies:
flask, flask-sqlalchemy, flask-marshmallow and marshmallow-sqlalchemy.
Submitted by Raagan U (raagan)
Download packets of source code on Coders Packet
Comments