tcw165 / aN9e-1-8t

My starter rails project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Architecture Overview

Architecture Overview


Try Out Locally

  1. If you have Docker installed, you could follow Use Docker Compose instruction.
  2. If you have Minikuber installed, you could follow Use Minikube instruction.

Here is the preview:

Preview

Use Docker Compose

  1. Use Docker-Compose to deploy web, api-server, and db Docker containers locally on your machine.
$ docker-compose -f deploy-compose/DockerCompose.yml up -d
  1. Open website in your browser.

  2. Use Docker-Compose to take down the containers if you're done with testing.

$ docker-compose -f deploy-compose/DockerCompose.yml down

Use Minikube

Sorry, it's still WIP.


Directory Overview

.
├── backend
├── deploy-compose
└── frontend
  • backend/ is the Rails API server.
  • frontend/ is the NextJS web server.
  • deploy-compose/ contains the Docker-compose file for local deployment (for test or debug)

About

My starter rails project


Languages

Language:Ruby 57.2%Language:TypeScript 35.2%Language:Dockerfile 3.8%Language:CSS 1.8%Language:JavaScript 1.4%Language:HTML 0.5%