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
- Host: GitHub
- URL: https://github.com/leylahosseini/flask-crud-postgres
- Owner: leylahosseini
- Created: 2023-07-11T07:39:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-11T13:21:11.000Z (almost 3 years ago)
- Last Synced: 2025-07-05T20:47:58.385Z (12 months ago)
- Topics: crud-api, flask, flask-application, flask-restful, flask-sqlalchemy, postgres, python, sqlalchemy
- Language: Python
- Homepage: https://enginedevops.com
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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