Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glin/neostocks
Real-time stock tracker for the Neopets Stock Market
https://github.com/glin/neostocks
neopets r shiny vue
Last synced: 3 months ago
JSON representation
Real-time stock tracker for the Neopets Stock Market
- Host: GitHub
- URL: https://github.com/glin/neostocks
- Owner: glin
- Created: 2019-01-08T00:38:13.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-09-10T04:30:12.000Z (over 1 year ago)
- Last Synced: 2024-10-12T12:16:27.227Z (3 months ago)
- Topics: neopets, r, shiny, vue
- Language: Vue
- Homepage: https://neostocks.info
- Size: 5.02 MB
- Stars: 25
- Watchers: 6
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://github.com/glin/neostocks/workflows/build/badge.svg)](https://github.com/glin/neostocks/actions)
[![codecov](https://codecov.io/gh/glin/neostocks/branch/master/graph/badge.svg)](https://codecov.io/gh/glin/neostocks)[neostocks](https://neostocks.info) is a real-time dashboard for the Neopets Stock Market, similar to the former NeoDaq.com (RIP).
## Getting Started
### Prerequisites
- [R](https://www.r-project.org/) >= 3.1
- [Node.js](https://nodejs.org) LTS or later### Installation
Clone the repo:
```sh
git clone https://github.com/glin/neostocks
cd neostocks/
```Install the R package:
```r
# install.packages("devtools")
devtools::install()
```Build the UI:
```sh
npm install
npm run build
```### Running
```r
shiny::runApp()
```To use custom stock data, set the `NEOSTOCKS_DATA_FILE` environment variable:
```sh
# .Renviron
NEOSTOCKS_DATA_FILE=/path/to/neostocks.csv
```## Development
Build the UI for development:
```sh
npm run dev
npm run dev:watch # rebuild on changes
```Run UI tests:
```sh
npm test
npm run test:cover # with coverage
npm run test:watch # rerun on changes
```Run R tests:
```r
devtools::test()
```## License
MIT