You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/matheusgb/autocomplete

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/matheusgb/autocomplete

v0.0.0-20240911165847-5c64f19fef13
Source
Go
Version published
Created
Source


Markdownify
Autocomplete

Toy project made with Golang.

go version

Key FeaturesHow To UseDocumentation

Key Features

  • 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.

How To Use

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.

Documentation

If you want Elasticsearch with some data, use the GET - /populate route.

FAQs

Package last updated on 11 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.