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
- Host: GitHub
- URL: https://github.com/gitcoinco/pina
- Owner: gitcoinco
- License: mit
- Created: 2023-10-23T08:10:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T07:44:28.000Z (over 2 years ago)
- Last Synced: 2024-06-21T04:53:51.499Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```