Skip to content

A social media network where users post feeds and send friend request to other users

Notifications You must be signed in to change notification settings

tafodinho/connect-me

Repository files navigation

ConnectMe

Connect me is a social media app with features similar to that of the original Facebook. It has functionalities such as:

  • Upload posts
  • View friends
  • Send friend request
  • Accept friend request
  • Reject friend request
  • Unfriend user
  • Comment and like a post
  • Add, delete, search friends

live version

connect me

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This project is built with Ruby on Rails. Before try to run it locally make sure you have Ruby, and Ruby on Rails installed.

After installing check your ruby version with ruby -v

ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]

and your rails version with rails -v

rails -v
Rails 5.2.3

Installing

Run bundle install to install all required dependencies

Setting up the Database

After running bundle install you can go ahead and setup your database in the env file located in the home directory of the project. you can then go ahead to run rake db:setup or rails db:setup to create the database and run the migration.

Run the server

To run the server and open your project run: rails s and open a tab in your browser at localhost:3000 which is the default port rails use. Don't forget to start the postgreSQL database server

Running the tests

Run bundle exec rspec spec to run all the tests that were included in this project

Deploy on Heroku

You can deploy the project on Heroku using the following steps:

  • Create a Heroku Account
  • On the terminal, run heroku create to create a new app
  • Run heroku push to start a deployment on Heroku.
  • Run heroku migrate to run migrations on your production database.
  • Visit your project URL as assigned by Heroku to see a live deployment of Fakebook.

Built With

  • HTML5,CSS3
  • Ruby On Rails

Authors

Screenshots

screenshot1 sending friend request accepting friend request viewing friends user timeline home with users posts

About

A social media network where users post feeds and send friend request to other users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published