• Stars
    star
    175
  • Rank 218,059 (Top 5 %)
  • Language
    Ruby
  • Created over 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An example app built on Ruby on Rails + React.js + TypeScript + Docker Compose

Rails-React-TypeScript-Docker Example backend_test frontend_test

TL;DR

Here is an example application with the following modern web technology stacks. With this boilerplate, you can easily start to build your own app.

Usage

$ git clone https://github.com/ohbarye/rails-react-typescript-docker-example.git && cd rails-react-typescript-docker-example

# Setup
$ docker-compose run frontend yarn
$ docker-compose run backend bin/rails db:create db:migrate

# Start
$ docker-compose up -d

# Open frontend
$ open http://localhost:80 # You'll see yaichi page, then click any app

# Check backend API
$ curl -H 'Host: backend.localhost' http://localhost/greetings/hello

Motivation

Nowadays, I feel like we need a wide range acknowledgment on web development even if we call ourselves "backend developer" or "frontend developer".

As for my experience, I've been a Rails engineer, I'm but recently working like kinda frontend developer because I spend all of my working time for building an SPA (single page application) built with React + TypeScript.

The SPA, Of course, has a backend API, Ruby on Rails connecting PostgreSQL in my case. I use Docker Compose for defining and running multi-container Docker applications because it's not much simple to bootstrap all of applications and middlewares.

Learning each technology itself is not a burden. I rather like learning. But I've thought I'd like to pursue my playground whose tech stacks are virtually same as ones I develop in work.

Further Details

Backend

The combination, Rails + PostgreSQL + Docker Compose, is just a result I followed Docker Compose's official instruction.

Frontend

It consist of very thin webpack settings, TypeScript config, and Jest.

More Repositories

1

pbt

Property-Based Testing tool for Ruby, supporting multiple concurrency methods (Ractor, multiprocesses, multithreads).
Ruby
203
star
2

goofi

✨Let's contribute to OSS. Here is how to find good first issues in GitHub. "goofi" is an abbreviation of "good first issues".
TypeScript
167
star
3

review-waiting-list-bot

Make your team's review great again! ✨ It's a Slack bot to list up review waiting list.
JavaScript
87
star
4

markdown-server

Simple markdown server written in Python. It converts your markdown file to HTML and returns a response as text/html.
Python
39
star
5

kpt-bot

Slack bot to encourage KPT retrospect πŸ’­
JavaScript
29
star
6

react-use-kana

Tiny React hooks to build better Japanese form
TypeScript
21
star
7

route_mechanic

RouteMechanic detects broken routes with ease πŸš‹
Ruby
11
star
8

Hermes

Generate dummy data, or mask sensitive data with dummy. 😷
Python
6
star
9

trade-off-sliders

Trade-Off Sliders is one of Agile techniques in order to make agreement with your project's trade-off.
JavaScript
6
star
10

automaildoc

πŸ“§ Generate email preview from your mail spec
Ruby
6
star
11

dotfiles

Setup procedure for myself.
Vim Script
5
star
12

ohbarye.github.io

My profile 🐟 🐈 πŸ’¨ and curriculum vitae
HTML
5
star
13

rusky

πŸ’Ž + 🐢 = Rusky, it helps you to manage Git hooks easily.
Ruby
5
star
14

string-pixelater

This is a simple tool to pixelate any characters.
TypeScript
4
star
15

env-label

During development, have you operated on your production page that was open at the same time by mistake? Env Label will save you from such a mistake.
TypeScript
2
star
16

choka-scraper

This is a script to fetch catches of fishing by scraping https://www.fishing-v.jp/.
Python
1
star
17

tfjs-posenet-example

HTML
1
star
18

namesgenerator

Port of Docker 0.7.x names generator written in Ruby.
Ruby
1
star
19

3D-logo-generator

3D Logo Generator with three.js.
JavaScript
1
star
20

alfred-nightshift-workflow

This is a quite simple Alfred workflow to toggle Night Shift on/off on macOS.
1
star
21

swagger-merger-docker

This is an unofficial Docker image for https://github.com/WindomZ/swagger-merger.
Dockerfile
1
star
22

dotinstall

Practice swing with dotinstall.
JavaScript
1
star
23

colorful-contributions

Chrome extension to color GitHub contributions with your favorite color.
HTML
1
star