https://github.com/rokhimin/ruby-crud
A ruby CRUD using ActiveRecord and postgreSql database | without Rails, Sinatra, etc
https://github.com/rokhimin/ruby-crud
activerecord crud postgresql rake ruby
Last synced: 12 months ago
JSON representation
A ruby CRUD using ActiveRecord and postgreSql database | without Rails, Sinatra, etc
- Host: GitHub
- URL: https://github.com/rokhimin/ruby-crud
- Owner: rokhimin
- License: mit
- Created: 2019-08-12T12:32:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T12:00:53.000Z (over 6 years ago)
- Last Synced: 2023-12-04T15:47:01.496Z (over 2 years ago)
- Topics: activerecord, crud, postgresql, rake, ruby
- Language: Ruby
- Homepage:
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# 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.