An open API service indexing awesome lists of open source software.

https://github.com/application-research/node-estuary-example

An example of uploading data using NodeJS
https://github.com/application-research/node-estuary-example

estuary filecoin ipfs typescript

Last synced: 2 months ago
JSON representation

An example of uploading data using NodeJS

Awesome Lists containing this project

README

          

# node-estuary-example

Use `TypeScript` and `node-fetch` to upload a file to Estuary.

### Setup (MacOS)

Clone this repository and then run the script.

```sh
npm install
npm run upload
```

On success you should see something lke this in your terminal.

```js
{
'content-type': 'multipart/form-data; boundary=--------------------------225027799253021671631288'
}
{ cid: 'Qmch2cHCE4WXV32vyaLgWXYqE7VSLYwrT7xJ6tpxqq3NP5' }
```