blogonhq / fullstack

Fullstack rails based on view components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fullstack

Inspired by evilmartians' frontend approach, fullstack is my own template for spinning fullstack apps quickly.

What?

This is a base rails 6 template, based on view components for easier fullstack development.

Ah, What's inside?

FE

It's shipped with the essential tools/files to set you up quickly chceck packages.json for hints.

BE

Rails 6, postgresql and puma. It also depends on ruby 2.7.1.

Usage of the component generator command

You can do it like this:

  → rails g component article-body

  Running via Spring preloader in process 53004
        create  frontend/components/article-body/_article-body.html.erb
        create  frontend/components/article-body/article-body.css
        create  frontend/components/article-body/article-body.js
        append  frontend/packs/application.js

I want to change my App name

/config/application.rb then change the module Template to module MyNewFancyApp and you are good to go.

Easily installing templates

By using Rails Bytes you can easily charge up your app

Is it up to date?

To the day: June 21, 2020 Yes, it's for now up to date.

Thanks?

You are welcome bruh.

About

Fullstack rails based on view components


Languages

Language:Ruby 67.3%Language:HTML 20.3%Language:JavaScript 11.5%Language:CSS 0.8%Language:Procfile 0.1%