https://github.com/wpcodevo/django-postgres-crud-rest-api
In this article, you'll learn how to implement CRUD operations on a PostgreSQL database using Django REST Framework.
https://github.com/wpcodevo/django-postgres-crud-rest-api
crud crud-api django django-api django-rest-framework docker docker-compose postgresql
Last synced: 2 months ago
JSON representation
In this article, you'll learn how to implement CRUD operations on a PostgreSQL database using Django REST Framework.
- Host: GitHub
- URL: https://github.com/wpcodevo/django-postgres-crud-rest-api
- Owner: wpcodevo
- Created: 2024-11-10T17:28:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-12T19:10:18.000Z (over 1 year ago)
- Last Synced: 2025-01-26T03:41:16.605Z (over 1 year ago)
- Topics: crud, crud-api, django, django-api, django-rest-framework, docker, docker-compose, postgresql
- Language: Python
- Homepage: https://codevoweb.com/crud-operations-on-postgresql-using-django-rest-framework/
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRUD Operations on PostgreSQL using Django REST Framework
In this article, you'll learn how to implement CRUD operations on a PostgreSQL database using Django REST Framework.

## Topics Covered
- Run and Test the Django API on Your Computer
- Set Up PostgreSQL and pgAdmin
- Connect the Django Project to the PostgreSQL Server
- Set Up the Django Project
- Create the Database and Serializer Models
- Django Database Model
- Django Serializer Model
- Generate and Apply the Database Migrations
- Create the CRUD API Views
- Implement the Create and Get API Views
- Implement the Read, Update, and Delete API Views
- Create Routes for the API Views
- Set Up CORS on the Django Server
- Test the CRUD Functionalities
- Perform the Create Operation
- Perform the Update Operation
- Perform the Read Operation
- Perform the Delete Operation
- Conclusion
Read the entire article here: [https://codevoweb.com/crud-operations-on-postgresql-using-django-rest-framework/](https://codevoweb.com/crud-operations-on-postgresql-using-django-rest-framework/)