Loading…
Loading…
Ruby
Rails apps come with ActiveRecord models + migrations, Devise-style auth, RSpec tests, Sidekiq for background jobs, and Action Mailer. Ruby 3.2+, Puma server, Postgres.
Every Rails app generated by Archiet ships with these baseline pieces. No template-cutting, no placeholder TODOs.
One representative file from a generated Rails app. Your generated output will include many more files like this one, customized to the entities and flows in your blueprint.
class ItemsController < ApplicationController
before_action :authenticate_user!
def create
@item = current_user.workspace.items.build(item_params)
@item.created_by = current_user
if @item.save
render json: { data: @item }, status: :created
else
render json: { errors: @item.errors }, status: :unprocessable_entity
end
end
private
def item_params
params.require(:item).permit(:name, :description, :status)
end
endPick Rails when convention-over-configuration and developer happiness matter. Fastest way to turn an architecture into a shippable monolith if your team already knows Ruby.