Giter Site home page Giter Site logo

synkro's Introduction

Synkro - Realtime Chatting Application

Welcome to Synkro! This is a real-time chat application that combines the power of the MERN (MongoDB, Express.js, React, Node.js) stack, along with TailwindCSS for styling, Passport.js for authentication, and Socket.io for real-time chatting.

Table of Contents

Introduction

This chat application allows users to create accounts, log in, and engage in real-time conversations with other users. The application uses the MERN stack, which is a popular choice for building full-stack web applications, along with TailwindCSS for easy and responsive styling. Passport.js provides user authentication, and Socket.io enables real-time communication between users.

Preview

videomp4.mp4

Features

  • User registration and authentication using Passport.js
  • Real-time chatting functionality using Socket.io
  • Responsive and visually appealing design with TailwindCSS
  • Sending and receiving text messages instantly
  • User-friendly interface for a seamless chatting experience

Technologies

  • MongoDB: NoSQL database for storing user data and chat messages.
  • Express.js: Web application framework for building the server.
  • React: Front-end library for building user interfaces.
  • Node.js: JavaScript runtime for server-side development.
  • Passport.js: Authentication middleware for Node.js.
  • Socket.io: Real-time communication library for web applications.
  • TailwindCSS: Utility-first CSS framework for styling.
  • Axios: Promise-based HTTP client for making requests.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js and npm: Make sure you have Node.js and npm (Node Package Manager) installed on your system.

Installation

  1. Clone this repository to your local machine using:

    git clone https://github.com/Yash-sudo-web/synkro.git
    
  2. Navigate to the project directory:

    cd synkro
    
  3. Navigate to the server directory and Install the server-side dependencies:

    cd server
    npm install
    
  4. Navigate to the client directory and Install client-side dependencies:

    cd ..
    cd client
    npm install
    

Configuration

  1. Create a new .env file inside the server folder and add your environmental variables in the following order:

    GOOGLE_CLIENT_ID=""
    GOOGLE_CLIENT_SECRET=""
    FACEBOOK_APP_ID=""
    FACEBOOK_APP_SECRET=""
    DB=""
    COOKIE_KEY=""
    

Usage

  1. Start the client:

    npm start
    
  2. Open a new terminal window/tab and navigate to the server directory and start the server:

    cd server
    npm start
    
  3. Open your web browser and navigate to http://localhost:3000 to access the chat app.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow the usual GitHub fork and pull request workflow.

License

This project is licensed under the MIT License.

synkro's People

Contributors

yash-sudo-web 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.