harunsasmaz / flask-crud-api

A very simple RESTful API for CRUD operations developed with Flask and SQLite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask CRUD API

A very simple RESTful API for CRUD operations.

Requirements

Anaconda 3 (Optional)

Python (3.7 Preferred)

SQLite (Downloaded withing Python, no need to install)

(Flask) pip3 install flask

(Flask SQLAlchemy) pip3 install flask_sqlalchemy

Text Editor (VSCode preferred)

Curl or Postman (HTTP Request/Response)

Testing

conda create --name python=3.7

conda activate

python3 app.py

Send request via Curl or Postman to http://localhost:8080/users

Endpoints

This api utilizes only a single endpoint '/users'.

For GET, PUT, DELETE requests, you should add {id} parameter, i.e. /users/2

About

A very simple RESTful API for CRUD operations developed with Flask and SQLite


Languages

Language:Python 100.0%