No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin init Dec 31, 2017
config
db todos Dec 31, 2017
lib init Dec 31, 2017
log init Dec 31, 2017
public init Dec 31, 2017
test
tmp
vendor init Dec 31, 2017
.babelrc init Dec 31, 2017
.gitignore
.postcssrc.yml init Dec 31, 2017
Gemfile
Gemfile.lock
Procfile.dev
Procfile.dev-server
Procfile.production
README.md
Rakefile init Dec 31, 2017
config.ru init Dec 31, 2017
package.json lists and buttons Dec 31, 2017
yarn.lock lists and buttons Dec 31, 2017

README.md

Basic Todo App

Built with React on Rails.

View a live example here.

Requirements

  • Ruby 2.4.1
  • Rails 5.1.4
  • Node v9.3.0
  • Yarn
  • PostgreSQL

Setup

  1. These instructions assume you are using Ruby 2.4.1.
  2. Clone or fork the repo: git clone git@github.com:idknox/ck_todo.git.
  3. Ensure you have the latest stable Bundler: gem install bundler.
  4. Install Node v9.3.0 via nvm or a package manager of your choice.
  5. Install the latest Yarn via a package manager of your choice (brew install yarn, etc).
  6. Install foreman: gem install foreman.
  7. Install dependencies: bundle && yarn.
  8. Database setup: rake db:create; rake db:migrate.
  9. Start the app: foreman start -f Procfile.dev-server.
  10. Open the page in a browser of your choice, we recommend Chrome: http://localhost:3000.

This app makes use of webpack-dev-server so any saved changes to client files will hot-reload the page.