1
0
mirror of https://github.com/stevenferrer/multi-select-facet.git synced 2025-11-23 21:54:45 +02:00
Files
multi-select-facet/README.md

37 lines
814 B
Markdown
Raw Normal View History

2020-06-09 19:15:43 +08:00
# Multi-Select Facet Example
2020-06-12 18:50:55 +08:00
An example of multi-select facet using [Solr](https://lucene.apache.org/solr), [Vue](https://vuejs.org) and [Go](http://go.dev/).
2020-06-09 19:15:43 +08:00
![screenshot](./screenshot.png)
2020-06-13 23:21:28 +08:00
## Running the example
2020-06-09 19:15:43 +08:00
1. Run Solr in docker.
```console
$ make solr
```
Wait for a few seconds while Solr is loading.
2. Run the API
```console
$ cd cmd/api && go build -v && ./api -init-schema -index-data -init-suggester
```
3. Run the web app (open a new terminal tab)
```console
$ cd webapp && yarn serve
```
4. Open http://localhost:8080 in your browser and start playing with it!
2020-06-09 19:15:43 +08:00
2020-06-12 18:50:55 +08:00
## License
2020-06-09 19:15:43 +08:00
MIT
## Contributing
Please feel free to improve this by [sending a PR](https://github.com/stevenferrer/multi-select-facet/pulls) or [opening an issue](https://github.com/stevenferrer/multi-select-facet/issues).