Giter Club home page Giter Club logo

barcamp-scheduler's Introduction

Dev Installation

Clone repo git clone [email protected]:omahacodeschool/barcamp-scheduler.git

Back-end

Installation

  1. Edit .env.example and rename to .env
  2. bundle install
  3. Create database with rake db:create
  4. Seed database with rake db:seed
  5. Start the server with rails s

Front-end

Requirements

You'll need to have npm installed. On Mac with Homebrew brew install node

Installation

  1. In the react project root directory (bc-front), run npm install
  2. Edit app.config.js.example and rename to app.config.js
  3. Start the server with npm start
  4. In browser navigate to localhost:8080

Testing on LAN

If you need to test multi-computer interactions

  1. Figure out your computer's local IP (for this example we'll use 192.168.1.1)
  2. Edit /bc-back/env to read REACT_URL = 192.168.1.1:8080 (substitute your local IP)
  3. Edit /bc-front/app.config.js to read module.exports = { api_url: 'http://192.168.1.1:3000' }; (substitute your local IP)
  4. Stop your rails server and restart it with rails s -b 0.0.0.0 it's now open to connections from your local network
  5. Stop your react server, edit /bc-front/package.json. In the "scripts" section, change "start:" from "webpack-dev-server" to "webpack-dev-server --host 0.0.0.0"
  6. Run npm start and your webpack/react server is now open to local connections
  7. Anyone on your local network can access the application at 192.168.1.1:8080 in a browser (substitute your local IP)

barcamp-scheduler's People

Contributors

bnourse avatar jlocatis avatar leannarm avatar sumeetjain avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

barcamp-scheduler's Issues

Make mobile reactive

Should not be able to sign up when on mobile.
Mobile view does not need polling continuously.
Should be able to view schedule.

Div container issues

Definitely an issue with an outer div somewhere causing the page to be off center. Checked on a big monitor, time is centered to the window, cards are not.

Tests

For both Rails and React.

Integrate State

Set initial state for each card component to sign up
Includes making the initial card
Includes using what state comes back in the json to decide what card is shown.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.