https://github.com/tomarrell/poker_tracker_ui
React UI for Poker Tracker App
https://github.com/tomarrell/poker_tracker_ui
game poker tracking
Last synced: 10 months ago
JSON representation
React UI for Poker Tracker App
- Host: GitHub
- URL: https://github.com/tomarrell/poker_tracker_ui
- Owner: tomarrell
- Created: 2017-11-20T01:52:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T21:57:50.000Z (about 5 years ago)
- Last Synced: 2025-05-09T01:17:22.842Z (about 1 year ago)
- Topics: game, poker, tracking
- Language: JavaScript
- Homepage:
- Size: 2.08 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Poker Tracker
A simple React application for tracking poker wins/losses. Includes a tiny Koa Node server to serve static assets while supporting SPA. This could alternatively be done with S3 + Cloudfront.
## Installation and Setup
Clone the repository locally.
Then install dependencies.
```
npm i
```
## Starting the application locally
To run a local instance of the application using webpack-dev-server use the command:
```
npm run dev
```
## Deployment
The application can be deployed anywhere that supports running a NodeJS server. We currently deploy to [now.sh](https://now.sh)
Deploy requirements:
- authenticated now.sh cli
1. `now switch pokertracker`
2. `npm run deploy`
## Starting production app locally
To run the NodeJS server locally and serve the static assets, run the following.
```
[PORT={PORT}] npm start
```