https://github.com/typesense/showcase-ecommerce-store
An app showing how you can use Typesense to build a full-fledged ecommerce browsing and searching experience
https://github.com/typesense/showcase-ecommerce-store
ecommerce-store instantsearch instantsearch-js search-engine typesense
Last synced: about 2 months ago
JSON representation
An app showing how you can use Typesense to build a full-fledged ecommerce browsing and searching experience
- Host: GitHub
- URL: https://github.com/typesense/showcase-ecommerce-store
- Owner: typesense
- License: apache-2.0
- Created: 2020-12-31T03:09:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T19:58:46.000Z (4 months ago)
- Last Synced: 2025-04-02T09:07:26.515Z (2 months ago)
- Topics: ecommerce-store, instantsearch, instantsearch-js, search-engine, typesense
- Language: JavaScript
- Homepage: https://ecommerce-store.typesense.org/
- Size: 13.5 MB
- Stars: 69
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📦 Instant E-Commerce Store Experience, powered by Typesense
This is a demo that shows how you can use [Typesense's](https://github.com/typesense/typesense) feature set,
to build not just a search experience, but also a full-fledged product browsing experience for an ecommerce store.See it live here: https://ecommerce-store.typesense.org/
## Tech Stack
The app was built using the
Typesense Adapter for InstantSearch.js.## Repo structure
- `src/` and `index.html` - contain the frontend UI components.
- `scripts/indexer` - contains the script to index the book data into Typesense.
- `scripts/data` - contains a small sample subset of products.## Development
To run this project locally, install the dependencies and run the local server:
```shell
npm install
npm run typesenseServerln -s .env.development .env
npm run indexer
npm start
```Open http://localhost:3000 to see the app.
## Deployment
This demo is hosted on Cloudflare pages. Pushing to master will automatically trigger a deployment.
## Credits
The dataset used in this showcase is from Algolia's public set of datasets listed here: https://github.com/algolia/datasets