Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
handling a AWS-SDK to storage files into a fake s3 bucket with MinIO.
- Host: GitHub
- URL: https://github.com/felipeversiane/s3filestorage
- Owner: felipeversiane
- Created: 2024-09-06T01:18:47.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T22:35:40.000Z (4 months ago)
- Last Synced: 2024-10-13T00:21:47.712Z (3 months ago)
- Topics: aws, cicd-pipeline, docker, filestorage, github-actions, golang, minio-client, nginx, pgxpool, postgresql, s3, s3-bucket
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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])