addod19 / facebook-clone

Welcome to Friendbook, a Facebook-like social network application. This application has the functionalities of a social media application. Authorized users are able to perform the [Features] stated in the section below. The features of this application tend to mimic most basic features of the facebook social media application.

Home Page:https://secret-sea-76381.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Facebook Clone

Welcome to Friendbook. In this project, we recreated the basic functionality of facebook. This is the last project of Microverse's Rails curriculum.

Features

  • Users

    • Sign up using their # Project Facebook Clone

Welcome to Friendbook. In this project, we recreated the basic functionality of Facebook. This is the last project of the Microverse's Rails curriculum.

Features

  • Users

    • Sign up using their real facebook account
    • Create/delete posts
    • Like posts
    • Comment on posts
    • Send and accept friendship requests
    • Remove friends

Future features

  • Create a post with images
  • Add emojis to comments
  • Upload profile photo
  • Chat with a friend

Screenshot

screenshot

Live link

Follow the link to access Friendbook

Requirements

- A Cloud Server running Linux (Ubuntu 18.04) or (Mac OS)
- PostgreSQL installed and running.
- Ruby 2.6.4
- Rails 5.2.3
- A basic familiarity with Ruby on Rails

Gems

  • gem 'devise', '~> 4.7', '>= 4.7.1'
  • gem 'faker', '~> 1.6', '>= 1.6.6'
  • gem 'font-awesome-sass'
  • gem 'omniauth-facebook', '~> 5.0'
  • gem 'pg', '>= 0.18', '< 2.0'
  • gem 'rails', '~> 5.2.3'

To run on windows system we have to install the following gems

  • gem 'wdm', '>= 0.1.0' if Gem.win_platform?
  • gem 'autoprefixer-rails'

Add this to ENV['EXECJS_RUNTIME'] = 'Node' boot.rb file

Uncomment #workers Integer(ENV['WEB_CONCURRENCY'] || 2) in puma.rb file

Optional

  • gem hirb

Installation

Clone or download this repository to your local machine. After cloning open your terminal on the repository folder and run :

bundle install
rails db:create
rails db:migrate
rails db:seed

How to run the test

For unit testing run rspec spec/models

For a feature test run rspec spec/features

Or run rspec -fd for all test

πŸ‘€ Nick Haralampopoulos

πŸ‘€ Daniel Larbi Addo

Appreciation

Microverse

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

  1. Fork it ( https://github.com/macnick/facebook-clone/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Show your support

Give us ⭐️ if you like this project!

πŸ“ License

This project is MiT licensed.


About

Welcome to Friendbook, a Facebook-like social network application. This application has the functionalities of a social media application. Authorized users are able to perform the [Features] stated in the section below. The features of this application tend to mimic most basic features of the facebook social media application.

https://secret-sea-76381.herokuapp.com/

License:MIT License


Languages

Language:Ruby 74.8%Language:HTML 22.5%Language:CSS 1.2%Language:JavaScript 1.1%Language:CoffeeScript 0.4%