This project is built on the basis of Reddit Functionality where User can have Posts and also can comments on Posts.
- This project is built with ActiveRecords Of Rails.
- We created 3 models named User, Post and Comment.
- Created Associations among them.
- Used Rails Console to add tables to database.
- User can have many Posts
- User can Comment on Other's Posts
Step 1
Clone the repo in your local folder where you want to run it
git@github.com:MkrtichSargsyan/micro-reddit.git
.
Step 2
Run 'cd micro-reddit'
Step 3
Run 'rails server'
Step 4
Run 'rails db:migrate'
- Ruby
- Ruby on Rails
- SQLite3
- VsCode
- A lot of Love
👤 Sajjad Ahmad
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
- Email: jogimar14@gmail.com
👤 Mkrtich Sargsyan
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
- Email: mkrtichsargsyan24@gmail.com
- If you want to contribute or have a feature to add.
- Go to the repo
- Open a pull request
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse