Skip to content

ken999999999999999/facebook-clone

Repository files navigation

Facebook Clone

Contributors Forks Stargazers Issues License: MIT

Table Of Contents

About The Project

Introduction: https://docs.google.com/presentation/d/18l59u0hNWd3g6lJgNLsKxlMcukCjbKKA9eSortOCXck/edit?usp=sharing

alt text

Prerequisites

Things you need to use the software and how to install them.

Set up before running the project

  1. Go to Firebase projects page > Select your project > Click Project Settings > Click on the Service accounts tab > Generate new private key

  2. Name the downloaded file 'serviceAccountKey.json' and put the file in backend directory

  3. Clone / Fork the repo

git clone https://github.com/ken999999999999999/facebook-clone.git
  1. Create .env files and copy it from the .env.template in root, frontend & backend directories

  2. Replace the following with your app's Firebase project configuration in frontend/.env

NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=

How to run the project locally

  1. Open frontend/backend directory in VS code > press F1 and select
> Dev Containers: Rebuild and Reopen in Container
  1. Navigate http://localhost:3000 in your browser

  2. Enjoy!

See the open issues for a list of proposed features (and known issues).

Authors