npm install
npm run serve
npm run build
npm run lint
The API is designed to be run as Vercel Serverless Functions, which will work when deployed to Vercel. They can be configured for local dev:
npm i -g vercel
It will require linking to Github, and to the Vercel account.
To run the development environment (hosting the API):
vercel dev
To get the .env
variables, pull them from Vercel
vercel env pull
docker build -t ghcr.io/digitalinteraction/metrofutures2020:archive-03 --platform=linux/arm64,linux/amd64 .