Simple reddit models association with database built with Rails.
- Ruby 3.0
- Ruby on Rails 6.1
- SQLite 3
To get a local copy up and running follow these simple example steps.
- Ruby on Rails v 6.x. For more information on how to install Ruby on Rails, please follow this link
- Clone this repository using the link above (click on the 'code' button)
- Open a terminal and
cd
to the cloned repository - run
bundle install
to install the dependencies - run
bin/rails db:migrate
to migrate the database
- To test the Models run
rails c
Try creating new instances of the modelsPost
,User
andComment
๐ค Gustavo Carvalho
- GitHub: @gscarv13
- Twitter: @Gscarv13
- LinkedIn: Gustavo Carvalho
๐ค Alicia Rojas
- GitHub: @aliciapaz
- Twitter: @_alicia_paz
- LinkedIn: Alicia Rojas
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.