Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/itsmaheshkariya/flask-rest-api
- Owner: itsmaheshkariya
- Created: 2019-12-20T17:46:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T02:48:07.000Z (almost 4 years ago)
- Last Synced: 2023-03-06T06:58:33.164Z (almost 2 years ago)
- Topics: flask, flask-application, flask-marshmallow, flask-sqlalchemy, maheshkariya, postman, rest-api, sqlite
- Language: Python
- Homepage:
- Size: 7.1 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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")