Giter Club home page Giter Club logo

go-cdn's Introduction

go cdn

Create your own Cdn service on Minio and Aws with Golang.

go cdn

Overview

This project allows you to create your own Content Delivery Network (CDN) service using MinIO and AWS S3 with the Go programming language. You can use this CDN service to upload, retrieve, and delete images.

Prerequisites

Before you get started, make sure you have the following prerequisites installed on your computer:

  • Docker: You will need Docker to run this project.

Installation

Follow these steps to set up and run the project:

1- Clone the repository:

git clone https://github.com/BTDevelop/go-cdn.git

2- Rename the .env.example file to .env and enter the required information. 3- Start the project with Docker Compose:

docker-compose up -d

Now, you can access the following services:

Postman Collection

You can find a Postman Collection for this project in the go-minio-cdn.postman_collection.json file.

Image Upload

Upload to MinIO

KEY VALUE
bucket bucket name
path slider
file choose file

Upload to MinIO and AWS S3

KEY VALUE
bucket bucket name
path slider
file choose file

Image Get

Get Image

Get Image with Custom Width and Height

Image Delete

Delete from MinIO

KEY VALUE
bucket bucket name
object object name

Delete from MinIO and AWS S3

KEY VALUE
bucket bucket name
object object name

Contributing

This project is open-source, and contributions are welcome. Feel free to contribute or provide feedback of any kind.

License

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

go-cdn's People

Contributors

btdevelop avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.