Skip to content

A template/demo to use google sheet as database to create full text, faceted search website

Notifications You must be signed in to change notification settings

kennethnwc/search-site-on-googlesheet

Repository files navigation

A template/demo to use google sheet as database to create full text, faceted search website

rememebr to add .env.local in current path

first time deploy

Install pm2 globally if not

yarn global pm2
chmod +x deploy-first.sh
chmod +x deploy-update.sh
./deploy-first.sh

Update

./deploy-update.sh

Example sheet

https://docs.google.com/spreadsheets/d/1npaSX5Nj_TPI0i05mYX2ASDJOqdkhLb6mVG2FGi9jto/

To update the field that to want to search or facet

update src/utils/config/init_config

Deploy with vercel , add env file