A react app to chat, create game rooms and play a simple dice game. This API requires dice-ui to be working. This project is using shut-up-api as base project.
These are the steps I followed when working on this app:
- Setting up project
- Adding JoinGame
- Adding player limitation
- Displaying winning number
- Adding throw dice
- Announcing the winner
- User
- name:string
- email:string
- password:string
- gravtar:string
- Message
- text:string
- author:string
- Game
- title:string
- winningNumber:integer
- playerIds:array
- isWinner:boolean
- thrownDice:integer
- winnerName:string
Make sure you have NodeJS and npm installed.
git clone git@github.com:Cesurhan/dice-api.git
cd dice-api
npm install
npm start
open http://localhost:3030
For more information about using React and Redux, see these links:
Simply run npm test
and all your tests in the test/
directory will be run.
Feathers has a powerful command line interface. Here are a few things it can do:
$ npm install -g feathers-cli # Install Feathers CLI
$ feathers generate service # Generate a new Service
$ feathers generate hook # Generate a new Hook
$ feathers generate model # Generate a new Model
$ feathers help # Show all commands
For more information on all the things you can do with Feathers visit docs.feathersjs.com.