https://github.com/toshimaru/RailsTwitterClone
Simple Twitter clone using Ruby on Rails 6.
https://github.com/toshimaru/RailsTwitterClone
rails ruby
Last synced: 4 months ago
JSON representation
Simple Twitter clone using Ruby on Rails 6.
- Host: GitHub
- URL: https://github.com/toshimaru/RailsTwitterClone
- Owner: toshimaru
- License: mit
- Created: 2014-03-15T12:06:40.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2025-07-28T22:41:46.000Z (7 months ago)
- Last Synced: 2025-07-29T00:24:07.103Z (7 months ago)
- Topics: rails, ruby
- Language: Ruby
- Homepage:
- Size: 2.55 MB
- Stars: 118
- Watchers: 7
- Forks: 74
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/toshimaru/RailsTwitterClone/actions/workflows/rspec.yml)
[](https://qlty.sh/gh/toshimaru/projects/RailsTwitterClone)
[](https://qlty.sh/gh/toshimaru/projects/RailsTwitterClone)
[](https://circleci.com/gh/toshimaru/RailsTwitterClone)


# Rails Twitter Clone
Simple Twitter clone using Ruby on Rails 6.

## Implementation
This implementation is based on [Ruby on Rails Tutorial](https://www.railstutorial.org/book) by [@mhartl](https://github.com/mhartl).
## Supported Ruby version
- v3.3
- v3.2
- v3.1
- v3.0
## Setup
Check out this repository and then,
```console
$ bin/setup
```
### Start Rails server
```console
$ bin/rails server
```
## Features
This application doesn't provide many features in order to keep it simple. Here are the features that it does include:
* See TimeLine
* Post new Tweet with image
* Follow/Unfollow User
* Edit user profile
## Used gem
### JavaScript
- webpacker
- @rails/ujs
### CSS
- bootstrap (v5)
### Database
- sqlite3
### For testing
* rspec
* capybara
* factory_bot
* faker
* simplecov
### For debugging
* bullet
* debug
* rack-mini-profiler
* rubocop
* web-console
See more details on [Gemfile](./Gemfile).
## Testing
```console
$ bundle exec rspec
```
## Data reset and sample data creation
```console
$ bin/rails db:reset # Data reset
$ bin/rails db:populate # Create sample data
```
## Other Resources
- [mhartl/sample_app_6th_ed: The main sample app for the Ruby on Rails Tutorial, 6th Edition](https://github.com/mhartl/sample_app_6th_ed)
- [Ruby on Rails Guides (v6.1)](https://guides.rubyonrails.org/v6.1/)