Skip to content

This API handles pinning a file to IPFS which is uploaded to a specific Google Bucket.

License

Notifications You must be signed in to change notification settings

onurkenis/bucket-to-ipfs

Repository files navigation

Introduction ▶️

This API listens a specific pub/ sub notification, which is triggered by a cloud function after uploading a file to a specific bucket, and handles pinning the file to IPFS. Project is also bootstraped with Prisma, so that any logic on top of the flow can be easily integrated.

What is used ⚡

  • IPFS
  • Google Pub/ Sub
  • Typescript
  • Node JS
  • Express
  • MySQL
  • Prisma
  • Inversify
  • Neverthrow

Local Development 💻

  1. Just run the following.
yarn start:dev
  1. App will be up and running on port: 3000

How to run 🚀 [in progress]

  1. Create the docker image.
yarn dockerize
  1. Run the containers.
yarn start
  1. App will be up and running on port: 3000

Endpoints 🔍

Postman collection is available here.

About

This API handles pinning a file to IPFS which is uploaded to a specific Google Bucket.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published