https://github.com/kennethnwc/search-site-on-googlesheet
A template/demo to use google sheet as database to create full text, faceted search website
https://github.com/kennethnwc/search-site-on-googlesheet
faceted-search google-sheets-api itemsjs lunr lunrjs nextjs tailwindcss typescript
Last synced: 7 months ago
JSON representation
A template/demo to use google sheet as database to create full text, faceted search website
- Host: GitHub
- URL: https://github.com/kennethnwc/search-site-on-googlesheet
- Owner: kennethnwc
- Created: 2021-06-29T07:42:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-29T08:29:06.000Z (over 4 years ago)
- Last Synced: 2025-01-14T13:16:45.401Z (9 months ago)
- Topics: faceted-search, google-sheets-api, itemsjs, lunr, lunrjs, nextjs, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://search-site-on-googlesheet.vercel.app/search
- Size: 32.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
yarn global pm2
``````bash
chmod +x deploy-first.sh
chmod +x deploy-update.sh
./deploy-first.sh
```## Update
```bash
./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