Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/felipeversiane/s3filestorage

handling a AWS-SDK to storage files into a fake s3 bucket with MinIO.
https://github.com/felipeversiane/s3filestorage

aws cicd-pipeline docker filestorage github-actions golang minio-client nginx pgxpool postgresql s3 s3-bucket

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://github.com/felipeversiane/s3filestorage/blob/main/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

```bash
docker-compose up --build
```

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

## Suport

For support, please email me [[email protected]](mailto:[email protected])