Building Microservices API in Go - New Bank Account: Part 1

Building Microservices API in Go - New Bank Account: Part 1

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial covers the creation of a POST API for creating a new bank account. It is divided into two parts, focusing on the business and server side in the first part. The video discusses the requirements, database structure, and the creation of a domain object. It then defines the secondary port and repository interface, followed by the implementation of the repository and save method. The tutorial also covers setting up a connection pool and application wiring. The video concludes with a preview of the next steps, which include implementing the service layer and DTO validation.

Read more

4 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the role of the secondary port in the implementation?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the save method in the repository work?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What happens if there is an error while creating a new account?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the significance of the last inserted ID in the save function?

Evaluate responses using AI:

OFF