Skip to content

WildEgor/e-shop-cdn

Repository files navigation

eShop - CDN



Microservice provide file(s) storage (S3) with real-time subscriptions


License Run Lint and Testing codecov Go Report Card GitHub tag (latest SemVer) Publish Docker image

Table of Contents

Introduction

Service allow upload multiple files to shared S3 public bucket

Features

  • Upload multiple files;
  • Save files metadata to database;
  • Delete file;
  • Subscribe for files changes;
  • [] Replace file;

Requirements

Quick start

  1. Start MongoDB using docker-compose;
  2. Start Minio using docker-compose;
  3. Prepare .env file using example;
  4. Install tools above;
  5. Run service using air or docker-compose:
task local-dev

or

task docker-dev

Contributing

Please, use git cz for commit messages!

git clone https://github.com/WildEgor/e-shop-cdn
cd e-shop-cdn
git checkout -b feature-or-fix-branch
git add .
git cz
git push --set-upstream-to origin/feature-or-fix-branch

License

This project is licensed under the MIT License.

Made with ❤️ by me