Django & PostgreSQL CRUD example | Django Rest Framework

In this tutorial, we’re gonna create Python/Django CRUD with PostgreSQL example that uses Django Rest Framework for building Rest Apis. You’ll know:

  • How to setup Django to connect with PostgreSQL Database
  • How to define Data Models and migrate it to PostgreSQL
  • Way to use Django Rest Framework to process HTTP requests
  • Way to make Django CRUD Operations with PostgreSQL Database

Related Posts:
Django & MongoDB CRUD Rest API | Django Rest Framework
Django CRUD with MySQL example | Django Rest Framework

Fullstack:
Django + Angular
Django + React
Django + React Hooks
Django + Vue.js

Read More

Dart/Flutter Constructors tutorial with examples

In this tutorial, I will show you how to define and work with Constructors in Dart/Flutter. There are many types of Constructors that you will need to know when working with Dart class.

Related Posts:
Dart/Flutter String Methods & Operators tutorial with examples
Dart/Flutter Future Tutorial with Examples
Dart/Flutter List Tutorial with Examples
Dart/Flutter Map Tutorial with Examples
Dart/Flutter – Sort list of Objects

Read More

@DataJpaTest example for Spring Data Repository Unit Test

Nowadays Unit Test is so important in Software Development, and Spring Framework also provides @DataJpaTest annotation to make writing test for JPA Repository more simpler. In this tutorial, we’re gonna look at how to apply @DataJpaTest in our Spring Boot Project with TestEntityManager, then run with JUnit 5.

This tutorial gives you an additional unit test for the Post:
Spring Boot, Spring Data JPA: CRUD example

More Practice:
Spring Boot – test Rest Controller with @WebMvcTest
JPA Repository query example in Spring Boot
Spring Boot Token based Authentication with Spring Security example
Spring Boot @ControllerAdvice & @ExceptionHandler example
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example
– Validation: Spring Boot Validate Request Body

Associations:
Spring Boot One To One example with JPA, Hibernate
Spring Boot One To Many example with JPA, Hibernate
Spring Boot Many to Many example with JPA, Hibernate

Read More