DEV Community

Benjamin Fadina
Benjamin Fadina

Posted on

1

LESSON 5: CREATION OF ALL LAYERS OF STUDENT MANAGEMENT MICROSERVICE USING WRAPT

In this video, I create all layers of StudentManagement Microservice using wrapt.
YAML FILE:
DomainName: UniversityAdministrationPortal
BoundedContexts:

  • ProjectName: StudentManagement Port: 5001 DbContext: ContextName: StudentManagementDbContext DatabaseName: StudentManagement Provider: sqlserver Entities:
    • Name: Student Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: MatriculationNumber Type: string
      • Name: FirstName Type: string
      • Name: LastName Type: string
      • Name: DateOfBirth Type: DateTime
      • Name: GenderId Type: guid
      • Name: Email Type: string
      • Name: PhoneNumber Type: string
      • Name: StudentContactInformations Relationship: 1tomany ForeignEntityName: StudentContactInformation ForeignEntityPlural: StudentContactInformations
      • Name: StudentNextOfKins Relationship: 1tomany ForeignEntityName: StudentNextOfKin ForeignEntityPlural: StudentNextOfKins
    • Name: StudentContactInformation Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: HouseAddress Type: string
      • Name: City Type: string
      • Name: State Type: string
      • Name: ZipCode Type: string
      • Name: CountryID Type: guid
      • Name: StudentID Type: guid
    • Name: StudentNextOfKin Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: FirstName Type: string
      • Name: LastName Type: string
      • Name: DateOfBirth Type: DateTime
      • Name: GenderId Type: guid
      • Name: Email Type: string
      • Name: PhoneNumber Type: string
      • Name: StudentID Type: guid
      • Name: RelationshipID Type: guid
      • Name: NextOfKinContactInformations Relationship: 1tomany ForeignEntityName: NextOfKinContactInformation ForeignEntityPlural: NextOfKinContactInformations
    • Name: NextOfKinContactInformation Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: HouseAddress Type: string
      • Name: City Type: string
      • Name: State Type: string
      • Name: ZipCode Type: string
      • Name: CountryID Type: guid
      • Name: NextOfKinID Type: guid
    • Name: Gender Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: GenderName Type: string
      • Name: Students Relationship: 1tomany ForeignEntityName: Student ForeignEntityPlural: Students
      • Name: StudentNextOfKins Relationship: 1tomany ForeignEntityName: StudentNextOfKin ForeignEntityPlural: StudentNextOfKins
    • Name: Country Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: CountryName Type: string
      • Name: StudentContactInformations Relationship: 1tomany ForeignEntityName: StudentContactInformation ForeignEntityPlural: StudentContactInformations
      • Name: NextOfKinContactInformations Relationship: 1tomany ForeignEntityName: NextOfKinContactInformation ForeignEntityPlural: NextOfKinContactInformations
    • Name: Relationship Features:
      • Type: AddRecord
      • Type: GetRecord
      • Type: GetList
      • Type: UpdateRecord
      • Type: DeleteRecord Properties:
      • Name: RelationshipName Type: string
      • Name: StudentNextOfKins Relationship: 1tomany ForeignEntityName: StudentNextOfKin ForeignEntityPlural: StudentNextOfKins Source code for this lesson can be found at https://github.com/benjaminsqlserver/StudentManagementMicroservice

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay