Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/likhithkp/ruby-crud-api-2
https://github.com/likhithkp/ruby-crud-api-2
css dockerfile html javascript ruby ruby-on-rails scss shell
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/likhithkp/ruby-crud-api-2
- Owner: likhithkp
- Created: 2024-06-16T12:15:04.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-16T12:16:12.000Z (7 months ago)
- Last Synced: 2024-12-11T17:53:33.949Z (about 1 month ago)
- Topics: css, dockerfile, html, javascript, ruby, ruby-on-rails, scss, shell
- Language: Ruby
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby on Rails CRUD
I think one of the quickest ways to learn a new language or framework is by doing a project. I built a [CRUD application](https://github.com/jameshuanguc/crud) before using Node.js, and now I rewrite it using Ruby on Rails!
Building the same web application using different languages/frameworks make me think of Rails is a rapid way to build an application comparing to Node.js, and Rails' code structure is more organized. But Rails is not flexible enough since I have to follow the Rails way to build the app. It's too high level and hard to customize the way I want.
![Database Diagram](./dbDiagram.png)
# Run in Docker
```sh
docker-compose build
docker-compose up# open another terminal
docker-compose run web rake db:create
docker-compose run web rails db:migrate RAILS_ENV=development# Check it out in localhost:3000
```# Demo
[https://ruby-on-rails-crud.herokuapp.com](https://ruby-on-rails-crud.herokuapp.com)