All Projects → ohbarye → Rails React Typescript Docker Example

ohbarye / Rails React Typescript Docker Example

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

Programming Languages

ruby
36898 projects - #4 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Rails React Typescript Docker Example

Dckerize
Supercharged Rails development using Docker containers
Stars: ✭ 112 (-13.18%)
Mutual labels:  postgresql, rails, docker-compose
Splits Io
a speedrunning data store, analysis engine, and racing platform
Stars: ✭ 99 (-23.26%)
Mutual labels:  postgresql, rails, docker-compose
Open Bank Mark
A bank simulation application using mainly Clojure, which can be used to end-to-end test and show some graphs.
Stars: ✭ 81 (-37.21%)
Mutual labels:  postgresql, docker-compose
Graphjin
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.
Stars: ✭ 1,264 (+879.84%)
Mutual labels:  postgresql, rails
Activerecord Clean Db Structure
Automatic cleanup for the Rails db/structure.sql file (ActiveRecord/PostgreSQL)
Stars: ✭ 101 (-21.71%)
Mutual labels:  postgresql, rails
Docker Rails React Starter
A basic docker-compose, Rails and React / Webpack starter kit
Stars: ✭ 52 (-59.69%)
Mutual labels:  rails, docker-compose
Uranus
Hierarchical Memo & Task Web-App
Stars: ✭ 71 (-44.96%)
Mutual labels:  postgresql, docker-compose
Python Microservice Fastapi
Learn to build your own microservice using Python and FastAPI
Stars: ✭ 96 (-25.58%)
Mutual labels:  postgresql, docker-compose
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-69.77%)
Mutual labels:  postgresql, rails
Express Postgres Starter
A starter project for Node.js with Express and Postgres running on Docker Compose
Stars: ✭ 107 (-17.05%)
Mutual labels:  postgresql, docker-compose
Hapi Starter Kit
Hapi.js based REST boilerplate which uses latest ES7/ES8 features (async/await) with code coverage and follows best pratices
Stars: ✭ 103 (-20.16%)
Mutual labels:  yarn, docker-compose
Docker Nginx Postgres Django Example
Example using Docker, Django, multiple Postgres databases, NginX, Gunicorn, pipenv, GitLab CI and tox.
Stars: ✭ 110 (-14.73%)
Mutual labels:  postgresql, docker-compose
Kongpose
Kong and Konga (admin webapp) development setup on docker-compose
Stars: ✭ 52 (-59.69%)
Mutual labels:  postgresql, docker-compose
Logidze
Database changes log for Rails
Stars: ✭ 1,060 (+721.71%)
Mutual labels:  postgresql, rails
Rails Webpacker
Rails on webpack and yarn with new webpacker gem. Multiple examples using react, vue and angular
Stars: ✭ 80 (-37.98%)
Mutual labels:  rails, yarn
Ar Uuid
Override migration methods to support UUID columns without having to be explicit about it.
Stars: ✭ 41 (-68.22%)
Mutual labels:  postgresql, rails
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-79.84%)
Mutual labels:  yarn, docker-compose
Ridgepole
Ridgepole is a tool to manage DB schema. It defines DB schema using Rails DSL, and updates DB schema according to DSL. (like Chef/Puppet)
Stars: ✭ 840 (+551.16%)
Mutual labels:  postgresql, rails
Docker Laravel
🐳 Docker Images for Laravel development
Stars: ✭ 101 (-21.71%)
Mutual labels:  postgresql, docker-compose
Symfony 4 Docker Env
Docker Environment for Symfony. PHP-FPM, NGINX SSL Proxy, MySQL, LEMP
Stars: ✭ 119 (-7.75%)
Mutual labels:  postgresql, 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].