Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.71 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.71 KB

go_fuzzymatch_webapp

Go Report Card DeepScan grade

A fuzzymatching web application written using Go and Javascript.

How to run locally the application back-end

  1. Install Golang 1.15+
  2. set environment variable name environment to development in your IDE
  3. go\src\github.com\datahappy1\go_fuzzymatch_webapp>go mod vendor
  4. go\src\github.com\datahappy1\go_fuzzymatch_webapp>go run main.go
  • The API by default runs at http://localhost:8080/api/v1/requests/
  • API Documentation is located here
  • For back-end configuration, check files here
  • For running local tests, run go\src\github.com\datahappy1\go_fuzzymatch_webapp>go test

How to run locally the application front-end

  1. Install npm
  2. Install Webpack based on this tutorial
  3. For local development, bundle frontend code using Webpack go\src\github.com\datahappy1\go_fuzzymatch_webapp\ui>npm run build:development
  • For production release, bundle frontend code using Webpack go\src\github.com\datahappy1\go_fuzzymatch_webapp\ui>npm run build:production
  • The application by default runs at http://localhost:8080/

Screenshot of the app

image