Lite.fyi is a very micro link shortener, with all the clutter taken away. It does what it says it does (shortens links,
duh).
This service is ready to be deployed out of the box with Netlify, and is designed to work with Netlify (although it
wouldn't be much work porting it elsewhere). If you don't have Netlify insalled, check it out
here
- clone
git clone [email protected]:jdleo/lite.git
- install dependencies
yarn
- add your firebase service account key to a new .env file in root
FIREBASE_SERVICE_ACCOUNT=xxxxx
After you've made a new Firebase app, enabled Firestore, go to Settings > Service Accounts
if you're unsure where to
go.
- start dev server
netlify dev
- create new netlify app, and set a new environment variable for your site, for
FIREBASE_SERVICE_ACCOUNT
, where its equal to the JSON string of your Firebase Service Account key. - deploy your site
netlify deploy --prod
yarn run test
yarn run build