rokhimin / ruby-CRUD

A ruby CRUD using ActiveRecord and postgreSql database | without Rails, Sinatra, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lang db Coverage Status

Ruby CRUD

A ruby CRUD(Create, Read, Update, Delete) using MVC pattern

About

I use active record to control postgreSql like ruby on rails . but it's without Rails or any framework :v very simple

Requires

  1. Ruby
  2. Postgresql (you can change if not like. only support SQL databases)

Setup

set configuration, db ,etc

config/config.rb

install gems

rake gem:install

create table db

rake db:migrate

Test

rspec

rake run:rspec

Run

Terminal : rake run:term

Web : rake run:web

ss

  • terminal

  • website

Structure table

Magi => ::chara::,::rate::,::description:: (id,created_at,updated_at . autoGenerate)

License

MIT License.

About

A ruby CRUD using ActiveRecord and postgreSql database | without Rails, Sinatra, etc

License:MIT License


Languages

Language:Ruby 73.4%Language:HTML 26.6%