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
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
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
Run bundle install
to install all required dependencies
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.
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
Run bundle exec rspec spec
to run all the tests that were included in this project
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.
- HTML5,CSS3
- Ruby On Rails