Overview
A clone of facebook built using ruby on rails for the backend, PostgreSQL for the database, and React for the frontend with Redux state management on the frontend.
👉
Live Demo
👈
Setup
To run, download the demo.
- Open up terminal in the root directory
- cd into the frontend and run
npm install
- run
npm start
from the frontend
- cd back to root and run
rails s
- demo should be available on localhost:3000/
Features Implemented
- User Auth
- User Profile Page
- Posting on each other's walls (CRUD)
- Friending
- NewsFeed
- Search Bar for users
Features to implement later
- Comments on posts (CRUD)
- Likes on comments and posts
- Notifications
- Pictures for posts
- Messaging using WebSockets and Active Cable
Tech Stack
- PostgreSQL
- Ruby on Rails
- React.js
- Redux
Notable Highlights
Picture perfect splash page and sign-up
Utilizing Search Bar
Home Page & User Profile
Important Code Snippets
-
Learning to structure jbuilder correctly to manage a normalized redux state for performance and scalability
-
Friend Request routes/controller
-
Search Bar Reducer