aaronpanch / idea-board

Base Project for GraphQL Workshop

Home Page:https://invoca-ideas.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invoca Ideas Workshop Application

Welcome to the GraphQL Workshop application! This README includes directions on how to your development environment up and running.

Development Setup

1. Verify Base Libraries

We rely on the following base libraries/languages/tools:

  • Ruby 2.6 (or greater)
  • Node v10.15 (or greater)
  • sqlite3
  • yarn

Please ensure that you have the above installed before continuing.

2. Install Project Dependencies

The first step in starting development is to checkout the code locally, and install dependencies:

$ bundle install --without production
$ yarn install

Both should pass successfully (you can ignore warnings). Note Both will take a while the first time you run them! Please do so ahead of class!

3. Setup Database

We're using the ultra-simple sqlite database (as default with new rails projects). You'll need to get the schema loaded by running:

$ bundle exec rails db:setup

3.a If you loaded the schema but need sample data

$ bundle exec rails db:seed

4. Start the Application and Client Pack server

One two terminal tabs, we'll start two processes:

Tab 1: Rails Server

$ bundle exec rails server

Tab 2: Webpack Dev Server

$ bundle exec ./bin/webpack-dev-server

5. Celebrate!

You're ready to develop our sample app! 🎉

About

Base Project for GraphQL Workshop

https://invoca-ideas.herokuapp.com


Languages

Language:Ruby 64.5%Language:JavaScript 25.8%Language:HTML 7.9%Language:CSS 1.0%Language:SCSS 0.9%