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

https://github.com/gitcoinco/pina

Piña 🍍 is a clone of the Pinata APIs for development only environments, used in Grants Stack
https://github.com/gitcoinco/pina

Last synced: 12 months ago
JSON representation

Piña 🍍 is a clone of the Pinata APIs for development only environments, used in Grants Stack

Awesome Lists containing this project

README

          

# Piña 🍍

Piña is a clone of the [Pinata](https://www.pinata.cloud/) API,
**exclusively designed for local development environments** to streamline your development process and minimize
the need for direct usage of Pinata's services during development.

## API

```
get /ipfs/{CID}
post /pinning/pinJSONToIPFS
post /pinning/pinFileToIPFS
```

### Test and Build

```
git clone git@github.com:gitcoinco/pina.git
go test
go build
```

### Run

`go build && ./pina -port 8000 -public ./public`

### Run in docker

```
make docker-build
make docker-run
```