Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/itsmaheshkariya/flask-rest-api

REST API USING FLASK SQLITE
https://github.com/itsmaheshkariya/flask-rest-api

flask flask-application flask-marshmallow flask-sqlalchemy maheshkariya postman rest-api sqlite

Last synced: about 1 month ago
JSON representation

REST API USING FLASK SQLITE

Awesome Lists containing this project

README

        

# Python FLASK REST API
Simple Python REST API For CRUD operations through SQLite.
### Git Clone
``` git clone https://github.com/maheshkareeya/flask-rest-api.git```
### Change Directory
```cd flask-rest-api```
### Note : Install Python and Postman for your system
```pip install virtualenv```

```source bin/activate```

```pip install flask flask-sqlalchemy flask-marshmallow marshmallow-sqlalchemy```
### Export
```export FLASK_APP=app.py```

```export FLASK_DEBUG=True```

``` flask run ```
### Create DB
```python```

```from app import db```

``` db.create_all() ```
``` exit() ```
### Start Server
```flask run```

### Demo
![alt text](https://user-images.githubusercontent.com/16520789/71291168-d6dc0a00-2397-11ea-9dc2-9b5e1d4fdf89.png "Node File Explorer")
![alt text](https://user-images.githubusercontent.com/16520789/71291190-e4918f80-2397-11ea-83e9-aa868df83dc2.png "Node File Explorer")
![alt text](https://user-images.githubusercontent.com/16520789/71291212-efe4bb00-2397-11ea-9177-f4157b204b38.png "Node File Explorer")