DevBond is a full-stack social networking platform built using the MERN stack. This repository contains the frontend application built with Vite + React, styled using Tailwind CSS and Daisy UI, featuring real-time chat, profile management, social connections, and more.
git clone https://github.com/pavansingh888/DevBond-WebApp.git
cd devbond-web
npm install
npm run dev
withCredentials: true
<BrowserRouter>
<Routes>
<Route path="/" element={<Body />}>
<Route path="/" element={<Feed/>}></Route>
<Route path="/chat/:targetUserId" element={<Chat/>}></Route>
<Route path="/premium" element={<Premium/>}></Route>
<Route path="/login" element={<Login />}></Route>
<Route path="/profile" element={<Profile />}></Route>
<Route path="/connections" element={<Connections />}></Route>
<Route path="/requests" element={<Requests/>}></Route>
<Route path="/error" element={<ErrorPage/>}></Route>
</Route>
</Routes>
</BrowserRouter>
/login
.Full end-to-end test cases are implemented to verify flows like:
npm run build
dist
to EC2:scp -r dist/* ubuntu@<your-ec2-ip>:/var/www/html/
server {
listen 80;
server_name DevBond.com;
root /var/www/html;
index index.html;
location /api/ {
proxy_pass http://localhost:7777/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
sudo systemctl restart nginx
.env
:AWS_ACCESS_KEY=
AWS_SECRET_KEY=
SesClient
& dynamic send email functionnode-cron
.env
/chat/:targetUserId
VITE_API_BASE_URL=http://devbond.com/api
.env
file.This project is licensed under the MIT License.