1. Golang - Echo Api
Personal Resume Project
  • Personal Resume Project
    • Introduction, Read Me!
    • Golang - Echo Api
      • Technical Documentation for Go Echo Backend
      • MongoDB Schema Documentation
      • GetPersonalInfo
        GET
      • GetExperience
        GET
    • Python - Resume AI Api
      • AI Chat Service – Resume Assistant Tech Doc
  1. Golang - Echo Api

MongoDB Schema Documentation

ERD Diagram Overview#

QuickDBD-export.png#

QuickDBD String#

personal_info as pi
----
_id PK ObjectId
first_name string
last_name string
email string
phone string
address string
linkedin_url string
github_url string
about_me string
title string

experience as exp
----
_id PK ObjectId
personal_info_id ObjectId FK >- pi._id
title string
company string
location string
start_date date
end_date date
description array

education as edu
----
_id PK ObjectId
personal_info_id ObjectId FK >- pi._id
institution string
degree string
start_date date
end_date date

personal_info Collection#

FieldTypeDescription
_idObjectIdPrimary key
first_nameStringFirst name of the individual
last_nameStringLast name of the individual
emailStringContact email
phoneStringContact phone number
addressStringResidential address
linkedin_urlStringLinkedIn profile link
github_urlStringGitHub profile link
about_meStringBrief personal summary
titleStringCurrent job title

experience Collection#

FieldTypeDescription
_idObjectIdPrimary key
personal_info_idObjectIdReferences personal_info._id
titleStringJob title
companyStringEmployer company name
locationStringLocation of the job
start_dateStringJob start date (ISO 8601 format recommended)
end_dateStringJob end date or "Present" for ongoing roles
descriptionArray<Object>List of roles and achievements
roleStringRole title within the company
detailsArray<String>Detailed descriptions of responsibilities and achievements

education Collection#

FieldTypeDescription
_idObjectIdPrimary key
personal_info_idObjectIdReferences personal_info._id
institutionStringName of the educational institution
degreeStringDegree or qualification attained
start_dateStringStart year (e.g., "2012")
end_dateStringEnd year (e.g., "2016")

Relationship and Reference Notes#

✅ 1-to-Many Relationship:
personal_info ↔️ experience
personal_info ↔️ education
✅ Reference Using personal_info_id
Ensures data consistency and simplifies queries.
Example query to join data:

Modified at 2025-03-18 15:27:24
Previous
Technical Documentation for Go Echo Backend
Next
GetPersonalInfo
Built with