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.
- Ruby on Rails
- Using Linters for Ruby and Stylelint
- Git, GitHub
- Using Bundler
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.
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.
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
-
Fork this repository.
-
Create a branch: git checkout -b <branch_name>.
-
Make your changes and commit them: git commit -m '<commit_message>'
-
Push to the original branch: git push origin <project_name>/
-
Create the pull request.
Alternatively see the GitHub documentation on creating a pull request. Feel free to check the issues page.
Give a ⭐️ if you like this project!
👤 Yusuf A. Badmus
- GitHub: @ybadmus
👤 Juan David Piza
- GitHub: @JuanDavid31
- Microverse
- Rails-Doc
- Odin-Project
- Our standup teams
This project is MIT licensed.