Link to life Version of the app
This app puts together some of the core features of facebook platform
Explore the docs �
Assigment
�
Report Bug
�
Request Feature
Sign In View
News Feeds View
In this project, we'll put together some of the core features of the platform – users, profiles, “friending”, posts, news feed, and “liking”. we'll also implement sign-in with the real Facebook by using Omniauth and Devise.
This progam was made using this technologies
To get a local copy up and running follow these simple example steps.
brew install chruby
brew install ruby-install
ruby-install ruby
- Rails You can easily install Rails by using the odin project's giude or directly from the rails site
gem install rails
- Clone the repo
git clone https://github.com/abruzy/facebook-clone
- The next thing is to change directory folder
cd facebook-clone
- The next step is to install our dependencies by running the following command below
bundle install
- create a file called '.env' in your root directory and copy the field below and paste it inside that .env file
NB: please replace, for example 'yourpassword' to 'abruzy9463' with the appropiate details
POSTGRES_USER='yourpostgresuser'
POSTGRES_PASSWORD='yourpassword'
POSTGRES_HOST='yourpostgreshost'
POSTGRES_DB='yourdatabasename'
- The next step is to run the command below
NB: please make sure you have pgadmin installed on your machine
rails db:create
- The next step is to migrate to our database by running the following command
rails db:migrate
- Voila!!, you did a great job but alas, we need to complete the whole step by actually starting our server by running the command below
rails s
- Now to view the app, we need to visit this url below and you can actually see this in your terminal when you start the server
http://localhost:3000/
rspec
- create, update, edit a user
- create, update, edit and delete a feed
- like and comment on a feed
- send friend request
- Recieve/Accept friend request
- Sign up with devise gem
- sign in with ominiauth
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/abruzy/facebook-clone