Greenfield Project for HackReactor
$ npm install
$ npm start$ npm test$ babel . --out-dir src/static/compiled --presets=es2015,react --ignore=node_modules,compiled,server,spec,babel_cache,webpack.config.js,src/static --source-maps inline -w
#### use webpack instead of babel command
```shell
$ NODE_ENV=production node_modules/.bin/webpack --progress --watch$ NODE_ENV=production node_modules/.bin/babel-node --presets react,es2015 src/server.jsnpm install --save-dev webpack [email protected] [email protected]###steps to get mysql working
brew install mysql
mysql.server stop (make sure you dont have one running)
mysql.server start
mysql -u root -p (blank password)
CREATE TABLE users (ID int NOT NULL, googleID VARCHAR(25), name VARCHAR(25), email VARCHAR(25), img TEXT, PRIMARY KEY (ID));
CREATE TABLE messages (ID int NOT NULL, userID int NOT NULL, text TEXT, time DATETIME, PRIMARY KEY (ID), FOREIGN KEY (userID) REFERENCES users(ID));
(schema.sql should do this for you, will end up removing these steps probably)
mysql -u root < src/schema.sql (runs sql file)