This serverless app provides proxy API for sanity-plugin-asset-source-pexels
It's a pretty basic Express app hosted and deployed in AWS via serverless framework.
- Clone this repo
- Create an
.env
file and addAPI_KEY
with your Pexels API - Use
yarn install
to install dependencies. - Then run
yarn start
to run the app.
All requests will be on http://localhost:9000
with two endpoints: /curated
and /search
.