Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.15 KB

fullstack.md

File metadata and controls

22 lines (19 loc) · 1.15 KB

Fullstack

Context

The rails_api_base was originally created to be used as a backend API, but it evolved to be more than just that, and now it is also intended to be used for Rails Fullstack apps.

Stack

The chosen stack is:

Setup

In order to setup the rails_api_base for fullstack development, run

bin/rails app:template LOCATION=./bin/fullstack.rb

in the root of the project and it will automatically install and configure everything you need.

Setup with Docker

If you want to use Docker and also want the example component to be created, you'll need to run this command so the RSpec test passes.

docker compose -f docker-compose.test.yml run --build web ./bin/rails app:template LOCATION=./bin/fullstack.rb && docker compose -f docker-compose.test.yml down