Giter Site home page Giter Site logo

facebook_post_clone's Introduction

Facebook Post Clone

Description

SPA application Clone facebook post function like interacting with posts by liking, commenting, deleting comment, deleting posts and creating posts with front-end technologies only using json server as mock database, design with responsive and dark mode with simple animations.


Links


Features

  • Interact with posts by [ like, comment, delete ] and single page for every post
  • See In Posts [ User [Name, Image], Post [Date, Title, Description, Images]]
  • Form for creating posts that contain user ( name, image ), post ( title, description, images )
  • A random image containing a distinctive color and the first letter of the first and second name of the user who did not put a picture
  • Infinity Scroll
  • Loading handler, error handler and 404 page
  • Limitation [ Only 4 Images Appear In The Main Page - Only One Comment Appear In Main Page ]
  • Custome Hooks For Handle Repeated Parts In The App
  • Simple Animation
  • Handle Requests With Custome React Hooks
  • Styled Components For Hight Level Of Styling
  • Reusable Components
  • Save unsent data in local storage
  • Compatible with all devices, browsers, search engines and screen readers
  • High performance

Technologies

  • React
  • Styled Components
  • Json

How To Run Website On Your Maachine

  • You Need To Setup [ nodejs, gulp ] on your machine
  • Clone Repo
  • On Terminal
  npm install -g json-server
  npm install
  • Run json-server
  npm run mock

OR

  json-server --watch .\src\Apis\posts.json --port 8000
  • Run On Developing Mode
  npm run start
  • Run On Optimize Version
  npm run build
  npm install -g serve [ First Time Only ]
  serve -s build

Important Notes

  • This App Can't Be Deploy On Github Because It Use Json Server
  • If You Want To Add Image In Post All Images Must Be In public/images Folder

Why I Create This App . Targets Of This App

  • Training On Fetch [ Get - Post - Delete - Patch ]
  • Traninig On Styled Component
  • Traning On Usable Components
  • Improve Files Structure
  • Traning On React Router
  • Traning On Hooks [ useContext - useReducer - useEffect - useState - useRef ]
  • Training On Custome Hooks
  • String, Arrays & Numbers Methods
  • Images Upload
  • Date Object
  • Google Lighthouse [ Accessibility, SEO, Best Practices ]
  • Infinty Scroll

My Links

facebook_post_clone's People

Contributors

kmg11 avatar

Stargazers

Roman avatar Ahmed Amin  avatar  avatar Bilal Elmursi avatar Ahmed ElBagalaty avatar  avatar  avatar Abdallah Elhedairy avatar

Watchers

James Cloos avatar  avatar

Forkers

mosadev savobit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.