Skip to content

felipeversiane/s3filestorage

Repository files navigation

File Manager API

API responsible for creating and managing files.

Introduction

The API itself is for study purposes, and aims to be a simple API for crud and file management, using Docker and a AWS S3 service.

🛠 Main libraries used

  • pgxpool - A package from the pgx library, pgxpool provides a connection pool for PostgreSQL databases. It allows efficient management of database connections and helps in handling multiple concurrent requests to the database with reduced latency and resource consumption.

  • github.com/google/uuid - This library provides utilities for generating and working with UUIDs (Universally Unique Identifiers). It supports the creation of various types of UUIDs, including UUIDv1, UUIDv4, and UUIDv5, and is used to ensure unique identifiers in distributed systems and databases.

  • github.com/aws/aws-sdk-go - This is a Go client library for interacting with AWS services, including S3, EC2, Lambda, and more. It provides a convenient and efficient way for Go applications to communicate with AWS resources by offering APIs for managing cloud services, storage, computing, and other AWS features.

For a complete list of dependencies see the file go.mod.

🚀 Development build

To be able to run the project as a developer, follow the steps:

  • Clone the repository to your machine.
  • Remember to checkout the branch you are developing.

From there you can run the following command to run the project and test the application

  docker-compose up --build

That's it, the API is running, be happy!

Suport

For support, please email me felipeversiane09@gmail.com

About

handling a AWS-SDK to storage files into a fake s3 bucket with MinIO.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published