An open API service indexing awesome lists of open source software.

https://github.com/surajdarade/daily-connect

Chat and Connect Daily!
https://github.com/surajdarade/daily-connect

aws-s3 expressjs mongodb nodejs reactjs socket-io tailwindcss typescript

Last synced: 3 months ago
JSON representation

Chat and Connect Daily!

Awesome Lists containing this project

README

          

# Daily Connect

Daily Connect with your closed ones with real-time messgage updates!

## Features

- **Real-Time Communication**: Crafted with Socket.io to provide instant chat and message updates.
- **User Authentication**: Secure authentication using JWT.
- **User Search**: API for searching users to chat with.
- **Message Features**: Display the last message and count of unseen messages.
- **Media Sharing**: Send media with captions, securely stored on AWS S3.

## Tech Stack

- **Frontend**: ReactJS, ReduxJS Toolkit
- **Backend**: NodeJS, ExpressJS
- **Database**: MongoDB
- **Real-Time Communication**: Socket.io
- **Cloud Storage**: AWS S3
- **Type Safety**: TypeScript
- **Authentication**: JWT

## Installation

1. Clone the repository
```sh
git clone https://github.com/surajdarade/daily-connect.git

2. Navigate to the project directory
```sh
cd daily-connect

3. Install Dependencies in client and server folder
```sh
npm i

4. Create a .env file in the server folder with the following fields:
```sh
DB_CONN_STRING=
CLIENT_URI=
NODE_ENV="development"
PORT=3000
JWT_SECRET_KEY=
JWT_EXPIRE=30d
AWS_BUCKET_NAME=
AWS_BUCKET_REGION=
AWS_IAM_USER_KEY=
AWS_IAM_USER_SECRET=

5. Start client and server
```sh
cd client
npm run dev

cd server
npm run dev