Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cvan/gameface-api
https://github.com/cvan/gameface-api
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cvan/gameface-api
- Owner: cvan
- License: mit
- Created: 2014-07-09T19:07:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-10T19:03:02.000Z (over 10 years ago)
- Last Synced: 2025-01-29T18:02:41.921Z (13 days ago)
- Language: JavaScript
- Size: 172 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# gameface-api
An API server that handles in-game services.
This is consumed by the front-end interface for
[cvan/gameface-api](https://github.com/cvan/gameface-api).# Installation
## Mac OS X
```bash
# Install redis via homebrew
brew install redis
# Set up redis as a launch agent
brew info redis
# Install node dependencies
npm install
# Copy local configuration into place
cp settings_local.js.dist settings_local.js
```If you'd like to run the server for development, consider install [`nodemon`](http://nodemon.io/) instead:
```bash
npm install nodemon -g
```# Development
Run the development server:
node app.js
Or to have the server restart upon changes, using [nodemon](https://github.com/remy/nodemon):
nodemon app.js
To play with redis:
redis-cli
To watch the commands getting sent to redis:
redis-cli monitor
To clear redis:
redis-cli flushall