Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/de-sh/bhvcpy
BSE Bhavcopy viewer, front-end service written in golang
https://github.com/de-sh/bhvcpy
Last synced: about 1 month ago
JSON representation
BSE Bhavcopy viewer, front-end service written in golang
- Host: GitHub
- URL: https://github.com/de-sh/bhvcpy
- Owner: de-sh
- Created: 2021-06-07T12:24:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-16T06:36:53.000Z (over 3 years ago)
- Last Synced: 2024-11-04T12:46:51.585Z (3 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bhavco.py
### TODO
- [x] Create golang webserver to serve Vue-js front-end
- [x] Basic `go/http` backend serving html
- [x] Create Vue js front-end with bootstrap UI
- [x] Use axios to load data from `/get`
- [x] Add filtered searching ability to app### Installation
1. redis-server, >golang-go1.14.0 are required.
2. Setup redis-server to run simulataneously in the background. Redis should be accessible at localhost:6379.
```
redis-server
```
3. Set tempory folder path and start golang server
```
BHVCPY_TEMP="./tmp" go run server.go
```
4. Visit http://localhost:3000 and interact with website. Input a keyword to get values as initially it is empty, this is similarly empty if redis hasn't been updated by the Bhavcopy downloader task.
5. Close website and redis instances.### Redis schema
- "codes": List of unique code for each and every scrip traded on the market.
- "open", "high", "low", "close": Also insert ordered listing scrip details.