Skip to content
A single page ToDo list app
Ruby JavaScript HTML CSS Other
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
config
db
lib
log
public
storage
tmp
vendor
.bablerc
.browserslistrc
.env.docker
.gitignore
.postcssrc.yml
.ruby-version
Dockerfile
Gemfile
Gemfile.lock
README.md
Rakefile
babel.config.js
config.ru
docker-compose.yml
package.json
postcss.config.js
yarn.lock

README.md

STACK

This app uses the following technologies

  • ruby rails for api

  • postgresql database

  • react frontend framework

  • bulma css framework just add with yarn and then require in application.css

  • rspec testing framework

  • docker

SETUP

##Wylans shell command run this in a bash shell to create a temporary docker for initialization

docker run --rm -v $(pwd):/app -w /app ruby:2.6 bundle install && rails new --database=postgresql --webpack -T

#NOTES REMEBER TO USE WEBPACK^4.0.0 on install!! To build react on rails app like this use

rails new --database=postgresql --webpack=react --skip-sprockets -T

#Important for Webpack webpacker.yml development server needs to point to service webpack in docker-compose.yml check that ports match name of service matches

##Setting Up React /app/assets/ - Rails will compile any resources in this folder. JavaScript files in this folder can be included in your views with <%= javascript_include_tag %>. /app/javascript/ - Webpack will compile any resources in this folder. JavaScript files in this folder can be included in your views with <%= javascript_pack_tag %>.

By default, none of your packs are being rendered to your views. Open up /app/views/layouts/application.html.erb and add the following to the bottom of your tag:

<%= javascript_pack_tag 'application' %>

#TODO

Add Rspec

Create Tables

Users Lists Cards

You can’t perform that action at this time.