Pinata
Published in

Pinata

How to Build Progressive Web Apps as NFTs

Using Pinata, Progressier, OpenAI, and Netlify

Getting Started

npx create-react-app email-rejections
cd email-rejections

Building Our Server(less) Backend

netlify login
[build]
functions = "./functions"
netlify functions:create --name email-rejections
netlify dev
http://localhost:8888/.netlify/functions/YOUR_FUNCTION_NAME
curl http://localhost:8888/.netlify/functions/email-rejections

Integrating OpenAI’s GPT-3

netlify init
netlify deploy
npm i axios
Write an email rejection from the App Store that gives a reason for the app's rejection.
curl --location --request GET 'http://localhost:8888/.netlify/functions/email-rejections'
npm run build && cd build && netlify deploy

Building The UI

Making It Progressive (And Feel Native)

"homepage": "./",
npm run build

--

--

The cloud wasn’t built for this. Pinata was. Managing your NFT media just got easier.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store