Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/stevemkroll/elasticsearch

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/stevemkroll/elasticsearch

  • v0.0.0-20210829150019-277980e1b810
  • Source
  • Go
  • Socket score

Version published
Created
Source

Setup Environment

  • Install Docker Desktop link

Seeding

  • In the root directory of the project run the following commands:
docker compose up -d
go run main.go -service=seed
go run main.go -service=api

Run Queries

  • In a new terminal run the following curl requests:
// Look up employees by phone

curl -v -H "GovernMint-token: pa\$\$word" http://localhost:8080/employee\?phone\=1111111111

// Seeded phone numbers

1111111110
1111111111
1111111112
1111111113
1111111114
1111111115
1111111116
1111111117
1111111118
1111111119
// Look up employees by task name

curl -v -H "GovernMint-token: pa\$\$word" http://localhost:8080/task\?name\=task_3

// Seeding task names

task_0
task_1
task_2
task_3
task_4
task_5
task_6
task_7
task_8
task_9

FAQs

Package last updated on 29 Aug 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc