/rails_api_template

Rails api template it make ready to code

Primary LanguageRuby

What does it do?

This repos is related to a Ruby on rails template, it add dependencies and configuration to make your rails api projet ready to code. No additional configuration is required

build with ruby 3.0.2 and rails 7.0.4

What are the pre-configured dependencies?

Usage

git clone git@github.com:Eth3rnit3/rails_api_template.git
rails new my_app -T -J --database=postgresql --api -m ./rails_api_template/template.rb
cd my_app

# Without docker
rails s

# With docker
docker-compose up -d --build && docker-compose logs -f --tail=100

Features

Dockerization

Template will ask you to dockerize app, it will configure docker image for api, worker and database (if db adapter is compatible with this template).

Adapter Compatible Version
postgresql 12.1
mysql 5.7
sqlite3 3
oracle -
sqlserver -
jdbcmysql -
jdbcsqlite3 -
jdbcpostgresql -
jdbc -