Skip to content

Latest commit

 

History

History
136 lines (104 loc) · 4.85 KB

README.md

File metadata and controls

136 lines (104 loc) · 4.85 KB

Contributors Forks Stargazers Issues Hireable


Logo

Building With Active Record

This project is part of the Microverse Ruby on Rails curriculum!
Explore the docs »

Report Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

This project is a recreation of the Reddit application, but on the model side.

It focuses on creating Models with validations and associations on rails using Active Record.

This is the fourth Microverse project of the Ruby on Rails Curriculum

This is also part of the Odin project curriculum https://www.theodinproject.com/courses/ruby-on-rails/lessons/building-with-active-record-ruby-on-rails

Built With

This project was built using these technologies.

  • Ruby 2.6.3
  • Rails 6.0.2.1
  • Ubuntu 18.4+
  • Stickler
  • VsCode

Usage

If you want to test it you need to have Ruby and Rails installed in your computer and download or clone this repo as follows:

  • $ git clone "https://github.com/euqueme/micro-reddit.git"

after that you need to open a terminal inside the repo and run the bundler

  • $ bundle install --without production

then, run rails db:migrate. This creates the database with the corresponding tables, columns and associations.

  • $ rails db:migrate

and finally, you can test it in the console using the sandbox with the following command

  • $ rails console --sandbox

type User, Post or Comment to see the structure of each model

Automated Test

There are no Automated Test for this project yet

Author

👤 Audrey Emmanuella Odiaka

👤 María Eugenia Quemé

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgements