Coder Social home page Coder Social logo

kkb-mmmut / live_box Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10.16 MB

A Live Box is a online chat based application used to connects everyone on a single platform. https://kkb-mmmut.github.io/Live_Box/

HTML 37.72% CSS 20.38% JavaScript 41.90%
chat chat-application live livebox socialapp

live_box's Introduction

Live Box

A Live Box is a online chat based application used to connects everyone on a single platform.

home-page-light

UserInterface with Selected User (fixed)

home-page-light

Deployments

 https://kkb-mmmut.github.io/Live_Box/

Created Using

React Js
HTML/CSS/JSX
JS 
React Hooks {useEffect/useContext Api} / Routing
Using Authentication by Firebase.

Live Box

A Live Box is an online chat based application used to connects everyone on a single platform, which will basically have the features of
 login, signup, create new chat, search users, live user interaction, send images etc. 

Basic Features.

1-Login page by using firebase/auth.
2-We can create the user by using signup page.
3-Fully working functionalty for search users and chats.
4-Can send the messages,images or any file.
5-Amazing user interface and awsome public interface . 
6-Handle errors and success alerts and show appropriate Alert/Notification.

Fetching Posts

## In this section, we followed the following steps:

    1 - We created a file in the utils folder for storing constants and URLs that
    will be required when we will fetch the data.
    
    2 - Then we implemented the custom fetch function for fetching data
    from the APIs. It has 2 parameters body and customConfig.
    
    3 - Here we used the try and catch method so that the app doesn’t crash
    when an error is encountered.
    
    4 - We have used async-await syntax here with fetch.
    
    5 - An async function starts a request and returns a promise. When
    the request completes, the promise is resolved with the
    Response object. If the request fails, the promise is rejected.
    
    6 - The await keyword causes the JavaScript runtime to pause your
    code on this line, not allowing further code to execute in the
    meantime until the async function call has returned its result —
    very useful if subsequent code relies on that result! Therefore,
    the await keyword is used before the fetch function.
    
    7 - Since the body is an object and an object can’t be passed in fetch
    function. So, if it is present it is first converted into a string and then
    passed through the fetch function.
    
    8 - The response received from the firebase. 
    
    9 - For styling, we used CSS modules in which class names are scoped
    locally for avoiding naming conflicts.

Firebase Authorization:

## Authorization: 
This is the most important scenario where firebase/auth is
used. It helps to persist the user and once the user is logged in, the onAuthStateChanged
request will include all the resources, accesses that are permitted to
the user.

Screenshots

Public Interface

home-page-light

User Interface

home-page-light

Login Page

home-page-light

Signup Page

home-page-light

Search Results

home-page-light

New User Login Profile

home-page-light

Overall Results

home-page-light

How to Run the project on local server.

1-Forked the github repository and run the project on their on deploying it.

2-Download the project on you local computer and unzip the file.

3-Then download all the dependencies by using "npm install".

4-Start the project by using "npm start".

Happy Hacking !!

live_box's People

Contributors

kkb-mmmut avatar

Stargazers

 avatar

Watchers

 avatar

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.