Skip to content

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.

License

Notifications You must be signed in to change notification settings

addod19/facebook-clone

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.8%
  • HTML 22.5%
  • CSS 1.2%
  • JavaScript 1.1%
  • CoffeeScript 0.4%