asloan7 / AirbnbClone

with Firebase, MERN (MongoDB, Express, React, Node), docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Airbnb Clone

Airbnb clone developed on the simcoder youtube chanel. It is made using MERN and firebase for the Auth system.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

  1. Docker-Compose

check the following link on how to install docker-compose

Setting up firebase

  1. Go to your firebase dashboard -> authentication -> sign-in method and enable google

  2. Go to firebase dashboard -> project Settings -> add web app and get the contents of firebaseConfig pasting them onto the variable firebaseConfig in frontend/src/Login/Login.js

  3. Go to your firebase dashboard -> Project Settings -> Service accounts

    1. Generate new private key copy the content and paste it into backend/src/config/serviceAccountKey.json
    2. Go to backend/src/functions/user.js and change the admin.initializeApp() content for the one in the service account page.

Deployment

A step by step series of examples that tell you how to get a development env running.

> sudo systemctl start docker (or the equivalemnt for your OS)
> sudo docker-compose up --build

Authors

License

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

About

with Firebase, MERN (MongoDB, Express, React, Node), docker

License:MIT License


Languages

Language:JavaScript 93.1%Language:HTML 3.7%Language:CSS 1.7%Language:Dockerfile 1.2%Language:Shell 0.2%