kkschick / chill-with-hill

React/Redux/Flask app to RSVP for Hillary Clinton events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chill With Hill

##Table of Contents

##The Project

This project has a Flask server on the back-end and a Node server on the front-end (using Webpack, React, Redux, and Babel + ES6). Here are the steps to get it all set up!

##Get It Running

###Back-end setup:

Get Postgres running and dump data.pgdump into a new database.

Create & activate your virtual env:

$ virtualenv venv

$ . venv/bin/activate

Install dependencies:

(venv)$ pip install -r requirements.txt

Start the Flask server:

(venv)$ python server/app.py

###Front-end setup:

If you don't already have npm, go ahead and install it:

$ sudo apt-get install npm

I was using node v4.4.3. To install that, run:

$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -

$ sudo apt-get install -y nodejs

Check your version:

$ node --version

v4.4.3

Install dependencies:

$ cd client/

$ npm install

Start the node server:

$ npm start

Point your browser to localhost:3000.

##Screenshots

View events:

View events

RSVP:

RSVP

Check your RSVP status or un-RSVP:

RSVP check

See whether an event is full:

Check full

About

React/Redux/Flask app to RSVP for Hillary Clinton events.


Languages

Language:JavaScript 65.9%Language:Python 28.8%Language:CSS 3.9%Language:HTML 1.4%