im-coder-lg / mini-dashboard

mini-dashboard for MeiliSearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MeiliSearch logo

Mini Dashboard

Prettier License Bors enabled


MeiliSearch's next mini-dashboard

Made to work with the v0.21 of the search engine & will replace the current mini-dashboard

This is still a work-in-progress. Thereby, PRs and bug issues are welcome, but please do not submit any new feature requests 🙏


Web interface gif


Table of Contents:


Setup

yarn

or

npm install

Run

yarn start

or

npm run start

Go to http://localhost:3000/ and enjoy ! 🎉

Build

Generate build

You can generate a build of this project with the following command:

yarn build

or

npm run build

Specify MeiliSearch's server URL

⚠️ By default, the application will call MeiliSearch at the exact same address as it is running. Example: if your app is running at http://localhost:5000, it will try to call http://localhost:5000/indexes to retrieve the list of your indexes.

If you want to specify the URL where your MeiliSearch is running, use the REACT_APP_MEILI_SERVER_ADDRESS environment variable.

Example:

REACT_APP_MEILI_SERVER_ADDRESS=http://127.0.0.1:7700 yarn build

or

REACT_APP_MEILI_SERVER_ADDRESS=http://127.0.0.1:7700 npm run build

Run your build

The above commands will generate an optimized version of the app, inside the build folder.

You can then serve it with any web server of your choice.

Example:

serve build

Storybook

Storybook is a development environment for UI components. It allows you to browse a component library, view the different states of each component, and interactively test components.

Storybook

yarn storybook

or

npm run storybook

Contributing

If you want to contribute to this project, please make sure to read the contributing guidelines

About

mini-dashboard for MeiliSearch

License:MIT License


Languages

Language:JavaScript 97.9%Language:HTML 1.7%Language:Shell 0.4%