Skip to content

promise-J/microverse-micro-reddit

 
 

Repository files navigation

microverse-micro-reddit

Rails practice - Clone of Reddit blog

README

Project Name: Micro Reddit: a junior clone of Reddit

This project let us practice creating models and their associations in order to get a full understanding of Active Record. The project itself is a CLI (Command Line Interface) of the Reddit blog.

Prerequisites

  • Ruby
  • Rails
  • SQLite3
  • Node.js
  • Yarn

Features

All actions are executed from the Ruby Console Users can be created as long as some validations are committed (Name must be at least 5 characters long and the Nickname must be unique in the whole site) Each User can post an unlimited amount of posts. Every Post has a Title (at least 2 chars long and 50 chars maximum) and a Body (at least 2 chars long and 200 chars maximum) Each Post can have an unlimited amount of Comments (Each comment must be at least 2 chars long)

Instructions

  • Open your terminal - Windows: Win + R, then type cmd | Mac: Command + space, then type Terminal
  • Navigate to a directory of your choosing using the cd command
  • Run this command in your OS terminal: git clone https://github.com/MiguelArgentina/microverse-micro-reddit.git to get a copy of the project.
  • Navigate to the project's directory using the cd command.
  • Execute rails console to load the development environment.
  • Run User.all to see all the users in the database.

Getting Started

Follow the instructions on Building with Active Record

screenshot

Authors

👤   Miguel Ricardo Gomez

👤   Ubong George

Show your support

Give a ⭐️   if you like this project!

License

This is available as open source under the terms of the MIT License.

About

Rails practice - Clone of Reddit blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 79.2%
  • HTML 12.0%
  • JavaScript 7.3%
  • CSS 1.5%