sdotco - Google Sheets alternative for dotco-@someshkar and ndotco-@kavin25
A URL shortener using Google Sheets and Vercel
- Clone the repository and install dependencies
git clone https://github.com/hashsaksham/sdotco
cd sdotco
yarn-
Get your credentials from Google Developer Console. You can refer to instructions on https://theoephraim.github.io/node-google-spreadsheet/#/getting-started/authentication?id=service-account (Service Account Method)
-
Create a Google Sheet and share it with your service account using the email noted from Google Developer Console.
-
Add
.envvariables
cp .env.example .env
vim .envNote: The
GITHUB_USERNAMEenvironment variable is optional.
- Deploy to Vercel
Note: In production (Vercel), you'll have to enter the env variables manually.