Ideal Frontend and Rails App

Kunibiki.rb #3 LT

@murajun1978

@murajun1978

Web Developer

Founder of Shinosaka.rb

Joined “6vox

Frontend

Awesome React :heart_eyes:

Awesome Netlify :package:

React

Component-Based

  • Loose coupling
  • Reusable

Component

  • React.component
  • React.PureComponent
  • Stateless Functional Component

Promise

  • API calls
  • Render Component

You need SSR ?

SEO … :cry:

Client side rendering

  • Simple config
  • Easy deploy
  • CDN
  • Fast rendering
  • No monitaring server

Netlify

  • CDN
  • One click HTTPS
  • Auto deploy
  • Free for open source projects

Backend

Awesome Rails :heart_eyes:

Awesome Json Web Token :closed_lock_with_key:

Rails

  • Generator
  • ORM
  • ECO System
  • Fast development
  • Api mode

REST

  • Simple
  • Stateless
  • Resource
  • Uniform Resource Identifier(URI)

GraphQL

  • Query language for API
  • Get many resources in a single request
  • Express … :scream:

GraphQL on Rails

  • Powerful ORM + GraphQL
  • Sounds good :smirk:

Json Web Token

  • Used Web Client and Mobile App
  • Used across different domains

Try Next

Awesome Relay :dancers:

Awesome open source project

Thank you !