Toy project made with Golang.
Key Features • How To Use • Documentation
- Saves and returns data from Elasticsearch.
- List of most saved words in Elasticsearch.
- Uses WebSocket to list autocomplete suggestions from Elasticsearch.
- List of most frequently saved words in Elasticsearch using WebSocket.
Initialize Elasticsearch in docker with:
docker-compose up
If you have air installed, you can run the backend with the command in root folder:
air
Also, you can run with:
go run main.go
You can run frontend with LiveServer vscode extension.
You can run integration tests with:
go test -v
But you need to initialize Elasticsearch before.
If you want Elasticsearch with some data, use the GET - /populate
route.