https://github.com/geolffreym/eshop
Parallel e-commerce API query
https://github.com/geolffreym/eshop
Last synced: 2 months ago
JSON representation
Parallel e-commerce API query
- Host: GitHub
- URL: https://github.com/geolffreym/eshop
- Owner: geolffreym
- Created: 2021-05-29T04:41:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-29T05:11:01.000Z (about 4 years ago)
- Last Synced: 2025-02-02T09:29:54.602Z (4 months ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eShopGo (WIP)
eShop issues a search for products in parallel in the main electronic stores through asynchronous channels, it returns a single metadata scheme classified based on the search parameters.More info:
[Go official](https://golang.org/cmd/go/#hdr-GOPATH_environment_variable)
### Set Environment variables
```export GOPATH=$HOME/myproject/``````export GOBIN=$HOME/myproject/bin/```
```export GOROOT=/my/golang/root/install/dir/```
### Dependencies
To get dependencies just run:
``` go get ```
### Generate bin
```go install```
### Build and run
``` go run main.go ```
## Try the api
```curl "localhost:9000/products/?q={mysearch}"```