Skip to content

Sagacious-Sycamore/hrgotchi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HRGotchi

Live class pet for Hack Reactor.

Team

Table of Contents

  1. Usage
  2. Requirements
  3. Installing Dependencies

Usage

To see pet, visit:

localhost:3000

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

About

Live class pet for Hack Reactor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •