Skip to content

EdCrux/micro-reddit-rails-models

Repository files navigation

Contributors Forks Stargazers Issues LinkedIn LinkedIn


Micro-Reddit Models

Creating a Micro-Reddit with only the Model and Database section... Play with it in the console!!!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

(Click on the image to play with the code! See instructions in Usage) Product Name Screen Shot

In this project we developed a simplified data-model version of reddit that includes the following models:

  • User model that validates the presence of password and a user name
  • Post model that validates presence of title and body and is associated to the User
  • Comment model that validates the presence of a comment and is associated to the User that is author of the comment and the Post it is refering to
  • If you click on the link provided you can test the validations and create your own users, posts and comments

Here is the diagram to represent the relationships of the models: Product Name Screen Shot

Built With

The project was developed using the following technologies:

Usage

Click on the image at the top or in the following link,

  • Click on the terminal and type bundle and hit enter to begin the instalations of the necessary gems
  • Click on the terminal and type yarn install --check-files and hit enter to update yarn
  • Click on the terminal and type rails db:migrate and hit enter to create a local database with the predefined models
  • Click on the terminal and type rails c and hit enter to start interacting with the database

Now you can test in the console!!

To quit the console just type exit

Roadmap

See the open issues for a list of proposed features (and known issues).

Contact

Project Link: https://github.com/EdCrux/micro-reddit-rails-models

Kitzia Paola Vidal Marroquin - Github user: kitpao

kitpao91@gmail.com   | Portfolio   | LinkedIn   | Twitter

Jesus Eduardo Cruz Valdez - EdCrux

jecruxiz@gmail.com   | My Repositories   | LinkedIn   | Twitter

Acknowledgements

About

In this project we create and test micro-reddit models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages