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.
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/ |
# 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/
- Like and enjoy posts
- Create comments
- Follow and stop following other users
- Create comments