/micro-reddit

Primary LanguageRubyMIT LicenseMIT

Enumerable-Methods

This project puts the knowledge of active record, models, and associations to the tests. We built an application similar to Reddit (called Micro-Reddit) where a user can create a post and add comments to it.

screenshot

Built With

  • Ruby on Rails
  • Using Linters for Ruby and Stylelint
  • Git, GitHub
  • Using Bundler

Getting Started

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

  • Go to the main page of te repo. "git clone https://github.com/ybadmus/micro-reddit.git"
  • Press the "Code" button and get the repo link.
  • Clone it using git.
  • Open terminal on that folder.
  • run yarn install
  • run npm install
  • run rails webpacker:install
  • run bundle install
  • run rails db: migrate to migrate the database
  • run rails server
  • Go to http://localhost:3000 on your browser to view the homepage of the application
  • Finnaly run rails console to inspect the structure of the database and the data you stored.

Prerequisites

Before you continue, be sure that you have installed:

  • A Git GUI.
  • Ruby and RubyGem
  • Rails 2.7.2
  • NPM & Yarn
  • An Integrated Development Environment.

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Steps

  1. Fork this repository.

  2. Create a branch: git checkout -b <branch_name>.

  3. Make your changes and commit them: git commit -m '<commit_message>'

  4. Push to the original branch: git push origin <project_name>/

  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request. Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Authors

👤 Yusuf A. Badmus

👤 Juan David Piza

Acknowledgments

📝 License

This project is MIT licensed.

Enjoy!