Skip to content

derikbf/ruby-social-network

Repository files navigation

Ruby - Social Network

Building a Social Network using Bootstrap 5 with Ruby on Rails 6 in MVC pattern.

Obs: this social network was focused on studies in Ruby on Rails, mainly on the backend, with no effort on the frontend.

This repository is part of the Curso Ruby on Rails on Digital Innovation One. Professor Luciano Cesar Cordeiro.

👨‍💻 Technologies Used

Ruby version 3.0.2 https://guides.rubyonrails.org/getting_started.html
Rails version 6.1.4.1 https://guides.rubyonrails.org/getting_started.html
Database PostgreSQL - Gem 1.1 https://www.postgresql.org/docs/
Bootstrap 5 https://getbootstrap.com/docs/5.1/getting-started/introduction/


Initial settings to run the project

# clone the project
git clone https://github.com/derikbf/ruby-social-network.git

# enter the cloned directory
cd ruby-social-network

# install Ruby on Rails dependencies
bundle install

# install Node dependencies
yarn install

# create the development and test databases
rails db:create

# create the tables
rails db:migrate

# create Posts Fakes
rails db:seed

# run the project
rails s



Open the browser at the address http://localhost:3000

Open the browser at the address https://dio-ruby-social-network.herokuapp.com/

DIO

Ruby on Rails: Building a social network
Digital Innovation One

Developed features:

  • Like and enjoy posts
  • Create comments
  • Follow and stop following other users
  • Create comments

Certificado DIO