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

Technical Documentation for Go Echo Backend

🌟 Project Overview#

Welcome to the go-echo-backend-kenneth project — a powerful yet lightweight serverless backend designed to run on AWS Lambda with the blazing-fast Echo framework! This API efficiently handles incoming requests via API Gateway and taps into MongoDB, with secrets securely managed through AWS SSM.

šŸ—ļø Architecture#

Here's the tech stack that makes everything tick:
Framework: Echo — because speed matters!
Database: MongoDB — securely integrated via AWS SSM.
Cloud Service: AWS Lambda — serverless and cost-efficient.
API Gateway: For smooth request handling.
AWS Lambda Go Proxy: Ensures seamless integration between Echo and AWS Lambda.

āš™ļø Setup Instructions#

Prerequisites#

Before diving in, make sure you have:
āœ… Go v1.21+ installed
āœ… AWS CLI configured with proper credentials
āœ… A MongoDB instance (local or remote) ready to roll
āœ… Environment variables set for secure configurations

🚨 Installation#

Follow these steps to get started:
1.
Clone the repository:
2.
Install dependencies:
3.
Run locally for testing:
šŸŽÆ That's it! Your API is now live locally and ready to serve requests.

šŸš€ Deployment to AWS Lambda#

1.
Skip the manual steps — use the included deploy.sh script to automate the build and deployment process:
This script builds the binary, zips it, and uploads it directly to AWS Lambda, it even handles the deployment on AWS API Gateway for you. Easy peasy!

Modified atĀ 2025-03-18 14:53:04
Previous
Introduction, Read Me!
Next
MongoDB Schema Documentation
Built with