REST API for CoinGecko and CoinMarketCap
Install the dependencies:
yarn global add vercel
yarn install
Create the project:
vercel
Add variables to your environment:
cp .env.sample .env
Local deployment:
vercel dev
Then open http://localhost:3000/api/total-supply or http://localhost:3000/api/circulating-supply in a browser.
Preview deployment:
vercel
Then visit the preview link.
Production deployment:
vercel --prod
Then visit the production link.