Skip to content

WIP : A serverless application built in Go, Leveraging AWS API Gateway, Lambda with basic CRUD functionality, designed as a hands-on project to familiarize myself with DynamoDB.

License

Notifications You must be signed in to change notification settings

Reaper1994/go-serverless-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Serverless CRUD App

This project is a serverless CRUD application built using AWS Lambda and DynamoDB. It provides a simple API for managing user data using API Gateway , DynamoDB , Lambda Comlpete serveless stack.

This project is a serverless CRUD application built using AWS Lambda and DynamoDB. It provides a simple API for managing user data.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/Reaper1994/go-serverless-app.git
    cd go-serverless-app
  2. Set up your Go environment and install dependencies.

Start the application

go run cmd/main.go

API Endpoints

The application exposes the following API endpoints:

Middleware

The application uses middleware for logging and monitoring. The TreblleMiddleware is included to track API requests and responses.

Environment Variables

The following environment variables are required:

  • TREBLLE_API_KEY: Your Treblle API key for monitoring.
  • TREBLLE_PROJECT_ID: Your Treblle project ID.
  • AWS_REGION: The AWS region where your DynamoDB is hosted. // auto setup by AWS

Running the Application

  1. Install dependencies:

    go get ./...
  2. Run the application:

    go run cmd/main.go
  3. Test the endpoints using a tool like Postman or curl.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

WIP : A serverless application built in Go, Leveraging AWS API Gateway, Lambda with basic CRUD functionality, designed as a hands-on project to familiarize myself with DynamoDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages