Giter Club home page Giter Club logo

micro_reddit's Introduction

Micro Reddit

This is a junior version of Reddit. This project contains build the data structures necessary to support link submissions and commenting. It does not have any front-end, thus there is no live version for this app. However the user can use the Rails console to play around with models without the overhead of making HTTP requests and involving controllers or views.

screenshot screenshot screenshot

Built With

  • Ruby
  • Ruby On Rails

Getting Started

To get a local copy up and running follow these simple example steps:

Prerequisites

Setup

  • To get a local copy of the project open terminal
  • run git clone https://github.com/uzairali19/micro-reddit.git
  • Then run cd micro-reddit

Usage

  • To use the app on local machine make sure you are on the root directory micro-reddit
  • Open terminal and run bundle install to install all the dependecies then run rails console
  • Now you can play around with relational tables and see how it works.

Run tests

  • To register a new user <your-varibale-name> = User.new(your_attributes_here)
  • To save the user <your-varibale-name>.save
  • To register a new post <your-varibale-name> = Post.new(your_attributes_here)
  • To save the post <your-varibale-name>.save
  • To register a new comment <your-varibale-name> = Comment.new(your_attributes_here)
  • To save the comment <your-varibale-name>.save

Authors

๐Ÿ‘ค Uzair Ali

๐Ÿค 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!

Acknowledgments

  • This project and details are available on the Odin Project, Be sure to check that out.

๐Ÿ“ License

This project is MIT licensed. Please contact issues link for contributions.

micro_reddit's People

Contributors

uzairali19 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.