Skip to content

Latest commit

 

History

History
94 lines (51 loc) · 1.01 KB

README.md

File metadata and controls

94 lines (51 loc) · 1.01 KB

LifeCraft

Android pet simulation game that promotes exercise through mini-games.

Team

  • Product Owner: Dunstan
  • Scrum Master: Humaid
  • Development Team Members: Chris, Dunstan, Humaid, Jon

Table of Contents

  1. Usage
  2. Requirements
  3. Installing Dependencies

Usage

Adjust live polling:

In server.js set setInterval(poll, 5000); to desired interval.

Test polling:

Send GET request to /api/test

Requirements

  • Node
  • Bower
  • MySQL

Setup

Initialize database:

mysql -u root -p

create database hrgotchi;

use hrgotchi;

INSERT into Pets (name) VALUES ('CHOOSE_NAME');

From within the root directory:

npm install

cd public

npm install && bower install

Start SQL:

mysql.server start

Compile React:

npm run startReact 

Start Server:

npm start 

Visit:

localhost:3000

Roadmap

View the project roadmap here