Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miguelargentina/microverse-micro-reddit

Rails practice - Clone of Reddit blog: This app was entirely developed using RoR and, as the name says, it is a simplified version of the Reddit forum.
https://github.com/miguelargentina/microverse-micro-reddit

ror ruby-on-rails

Last synced: about 1 month ago
JSON representation

Rails practice - Clone of Reddit blog: This app was entirely developed using RoR and, as the name says, it is a simplified version of the Reddit forum.

Awesome Lists containing this project

README

        

# microverse-micro-reddit
Rails practice - Clone of Reddit blog
=======
# README

![](https://img.shields.io/badge/Microverse-blueviolet)

## 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](https://www.theodinproject.com/courses/ruby-on-rails/lessons/building-with-active-record-ruby-on-rails)

![screenshot](./screenshot.png)

## Authors

👤   **Miguel Ricardo Gomez**
- GitHub: [@MiguelArgentina](https://github.com/MiguelArgentina)
- Twitter: [@Qete_arg](https://twitter.com/Qete_arg)
- LinkedIn: [Miguel Ricardo Gomez](https://www.linkedin.com/in/miguelricardogomez/)

👤   **Ubong George**
- GitHub: [@george-swift](https://github.com/george-swift)
- Twitter: [@\_\_pragmaticdev](https://twitter.com/__pragmaticdev)

## Show your support

Give a :star:️   if you like this project!

## License

This is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).