Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rookiecol/express-ts-ipfs
Express.js application designed for uploading JSON data and files to IPFS using the Pinata SDK.
https://github.com/rookiecol/express-ts-ipfs
express ipfs
Last synced: about 1 month ago
JSON representation
Express.js application designed for uploading JSON data and files to IPFS using the Pinata SDK.
- Host: GitHub
- URL: https://github.com/rookiecol/express-ts-ipfs
- Owner: RookieCol
- Created: 2024-01-09T23:12:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-11T01:47:04.000Z (about 1 year ago)
- Last Synced: 2024-11-09T19:30:06.522Z (3 months ago)
- Topics: express, ipfs
- Language: TypeScript
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express IPFS Uploader
This project is an Express.js application designed for uploading JSON data and files to IPFS using the Pinata SDK. It uses Multer for handling file uploads and supports CORS for cross-origin requests.
## Features
- Upload JSON data directly to IPFS.
- Upload files to IPFS.## Set up environment variables
#### PINATA_JWT
- Visit Pinata.cloud and login with your existing credentials or create a new account!
- Create a API Key
- After you create the key, it will show you all the values. The key, the secret key, and the JWT.
- Replace the JWT in the .env#### PORT
- Replace with the desired port## API Documentation
The API documentation is available through Swagger UI:
- **URL**: `http://localhost:/api-docs`
Replace `` with the port number you set in the `.env` file. Access this URL in your web browser to interact with the API and view the documentation.