/social-media

This repository is created to showcase a fully functional website that displays a list of posts and empowers readers to interact with them by adding comments and liking posts.

Primary LanguageRubyMIT LicenseMIT

Threads On Rails

📗 Table of Contents

📖 Threads On Rails

This repository has been established with the purpose of facilitating the learning of Ruby on Rails (ROR) in conjunction with PostgreSQL, a robust relational database management system.

🛠 Built With

Tech Stack

BackEnd
Test
Database

Key Features

  • Creating User
  • Creating Post
  • Creating Comments
  • Posting Likes
  • CRUD

(back to top)

💻 Getting Started

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

Prerequisites

In order to run this project you need:

  • Ruby on Rail Knowledge
  • Object Oriented Programming(OOP) Knowledge
  • Vs Code
  • Github / Git Bash
  • install ruby
 sudo apt-get install ruby-full
  • install rails

      gem install rails
    
  • Install gems of rails

      bundle install
      npm install
  • install postgresql

      sudo apt-get install postgresql postgresql-contrib libpq-dev

Setup

Clone this repository to your desired folder:

  git clone https://www.github.com:Xghayor/hello-rails.git
  cd Hello-Rails

Prepare the database:

  • create database
  rails db:create
  rails db:migrate

Usage

To run the project, execute the following command:

  rails server

Run tests

To run tests, run the following command:

  Rspec

(back to top)

👥 Authors

👤 Ghayoor Ul Baqir 👤 Bianca Lopez

(back to top)

🔭 Future Features

  • Processing data models

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project give me a star.

(back to top)

🙏 Acknowledgments

  • I would like to thanks Microverse to guide me to complete this project.

(back to top)

📝 License

This project is MIT licensed .

(back to top)