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

https://github.com/leylahosseini/flask-crud-postgres

Flask-CRUD-Postgres
https://github.com/leylahosseini/flask-crud-postgres

crud-api flask flask-application flask-restful flask-sqlalchemy postgres python sqlalchemy

Last synced: about 2 months ago
JSON representation

Flask-CRUD-Postgres

Awesome Lists containing this project

README

          

# Flask-CRUD-Postgres

#### This project is basically made for Python, which uses FLASK and Postgres ,which includes the CRUD operation.

### Run Project

docker-compose up -d

####
### POST
curl -X POST localhost:4000/users -d '{"username":"test1@test.com" , "email":"test1@test.com"}' --header "Content-Type: application/json"

### GET
curl -X GET localhost:4000/users

### PUT
curl -X PUT localhost:4000/users/:id -d '{"username":"test1@test.com" , "email":"test1@test.com"}' --header "Content-Type: application/json"

### DELETE
curl -X DELETE localhost:4000/users/:id