# ecommerce-demo **Repository Path**: wowai/ecommerce-demo ## Basic Information - **Project Name**: ecommerce-demo - **Description**: https://github.com/meilisearch/ecommerce-demo.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: 1-setup-database - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-07 - **Last Updated**: 2025-07-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Meilisearch

Meilisearch Nuxt 3 ecommerce demo

MeiliSearch | Documentation | Discord | Website | FAQ

License


## 🧰 Stack This project requires: - [Node 18](https://nodejs.org/) - [Yarn](https://classic.yarnpkg.com/) β€” Node.js packages manager - [Nuxt 3](https://nuxt.com) β€” Web application framework based on [Vue 3](https://vuejs.org/) - [Meilisearch](https://meilisearch.com) β€” Fast, relevant search engine ## πŸ› οΈ Setup ### Dependencies > **Warning** > Ensure that you are using a Node version compatible with the one in `.nvmrc`. Install the dependencies with Yarn: ```bash yarn install ``` ### Environment Environment variables should hold your Meilisearch database credentials. The easiest way to launch a database is to [create a free project](https://cloud.meilisearch.com/) on Meilisearch Cloud. Alternatively, you can read [local installation](https://docs.meilisearch.com/learn/getting_started/installation.html#local-installation) documentation for self-hosted options. This project loads environment variables from an `.env` file. You can duplicate the existing `.env.example` file and rename it as `.env`. Update the content of the file to match your credentials. ```bash # .env # Meilisearch configuration MEILISEARCH_HOST="use the Database URL here" MEILISEARCH_ADMIN_API_KEY="use the Default Admin API Key here" MEILISEARCH_SEARCH_API_KEY="use the Default Search API Key here" # Image optimization configuration TWICPICS_DOMAIN=https://meilisearch-ecommerce.twic.pics STORYBOOK_TWICPICS_DOMAIN=https://meilisearch-ecommerce.twic.pics ``` > This application uses [TwicPics](https://twicpics.com/) to deliver optimized images. You don’t need to update the related environment variables. ### Database Run the setup script to configure and seed your Meilisearch instance: ```bash yarn setup ``` ## πŸ§‘β€πŸ’» Development > **Note** > Make sure to complete instructions from the Setup section before running the server. Start the development server on http://localhost:3000 ```bash yarn dev ``` ## πŸš€ Deployment Build the application for production: ```bash yarn build ``` Locally preview production build: ```bash yarn preview ``` Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. ## ✨ Storybook This project uses [Storybook v7](https://storybook.js.org/) to document components. The `vite.config.ts` is used by Storybook to enable auto-imports and path aliases. Open Storybook by running: ```bash yarn storybook ``` > Output files `auto-imports.d.ts` and `components.d.ts` are auto-generated and *should not* be updated manually. You can commit them into source control.