Skip to content

This project is a Rails project that depicts the version of an application called micro-Reddit. In this project, I was able to build the data structures necessary to support link submissions and commenting.

Notifications You must be signed in to change notification settings

errea/Micro-Reddit-Rail-App

Repository files navigation

Ruby on Rails []Building With Active Record: Micro Reddit Application.

[Collaborative project]

This is the very first project I would build with Ruby on Rails. The main goal here is to make Let’s build Reddit. Well, maybe a very junior version of it called micro-reddit. In this project, you’ll build the data structures necessary to support link submissions and commenting. We won’t build a front end for it because we don’t need to… you can use the Rails console to play around with models without the overhead of making HTTP requests and involving controllers or views and Find project specifications here

Built With

  • Ruby
  • Ruby on Rails
  • webpack
  • Heroku
  • Sqlite
  • MVC pattern
  • Node.js -Yarn

Get Started

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

Prerequisites

  • Vscode
  • Heroku CLI
  • Terminal
  • Linters Test
  • Rubocop style guide

Set up

  • Open your terminal and locate the folder you want to clone the repository and follow the steps below to install

Install

Run the following command into your terminal:

git clone https://github.com/errea/Micro-Reddit-Rail-App.git

gem bundle install --without production

Project Structure

├── README.md
├── bundle
│   └── main.rb
└── .github\workflows
    └── linters.yml
└── app
    └── assets
    └── channels
    └── controllers
    └── helpers
    └── jobs
    └── mailers
    └── models
    └── views    
└── bin
└── config
└── db
└──log
└── bin
└── public
└── storage
└──test

Deployment

  1. Git clone this repo and cd the to the Micro reddit directory.
  2. Run rails server in command line to open the application server in your browser via https://localhost:3000 or something similar
  3. Run heroku start.
  4. heroku run
  5. heroku run rails db:migrate
  6. git push heroku main
  7. heroku run console

Authors

👤 Eri

🤝 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

  • Microverse

📝 License

This project is MIT licensed.

About

This project is a Rails project that depicts the version of an application called micro-Reddit. In this project, I was able to build the data structures necessary to support link submissions and commenting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published