Skip to content

rajanprajapati1/Facebook_Clone_React-TS

Repository files navigation

Facebook Clone

Overview

This repository contains a Facebook clone built using React, Vite, TypeScript, and Node.js with Express. The project includes features such as user signup, login, post creation, post likes, comments, viewing a single post, user profile pages, and more. The backend is powered by Node.js and Express, and the entire application is deployed on Netlify.

Facebook Clone Logo

Features

  • User Authentication:

    • User signup with email verification.
    • User login with secure authentication.
  • Post Management:

    • Create and publish posts.
    • Like posts and view the number of likes.
    • Comment on posts and view comments.
  • Post Interaction:

    • Like, comment, and share posts.
  • User Profile:

    • View user profiles.
    • Display user information and profile picture.
    • View user's posts.
  • Responsive Design:

    • Ensures a seamless experience across various devices.

Tech Stack

  • Frontend:

    • React
    • Vite (Build tool for React)
    • TypeScript
  • Backend:

    • Node.js
    • Express
  • Deployment:

    • Netlify (Frontend and Backend)

Getting Started

To run the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/facebook-clone.git
    cd facebook-clone
  2. Install dependencies for both frontend and backend:

    cd frontend
    npm install
    cd ../backend
    npm install
  3. Set up environment variables:

    • Configure .env files for frontend and backend with required variables.
  4. Run the project:

    # Run frontend
    cd frontend
    npm run dev
    
    # Run backend
    cd ../backend
    npm start
  5. Open your browser and navigate to http://localhost:3000 to view the Facebook clone.

Deployment

The application is deployed on Netlify. The deployment process is automated, and changes are automatically deployed when pushed to the main branch.

Live Demo: Facebook Clone Demo

Contributing

Feel free to contribute by opening issues or submitting pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages