This project is a real-time feedback system that allows users to join rooms, submit feedback, and see real-time updates using Socket.IO. The system consists of two main parts: the client application and the server application.
- Real-time feedback updates using Socket.IO
- Room management and user connection handling with Redis
- Screenshot functionality in the client application
- Floating feedback container with sharing feature
- Node.js
- Express
- Socket.IO
- Redis
- React
- Next.js
- Framer Motion
- HTML2Canvas
- TanStack React Query
- Node.js
- npm or yarn
- Redis
- Clone the repository:
git clone https://github.com/your-repo/real-time-feedback-system.git
cd real-time-feedback-system
- Install dependencies for both client and server:
# Navigate to the client directory and install dependencies
cd client
npm install
# or
yarn install
# Navigate to the server directory and install dependencies
cd ../server
npm install
# or
yarn install
- Create a .env file in the server directory and add your environment variables:
PORT=8080
REDIS_CONNECTION_STRING=your_redis_connection_string
- Create a .env.local file in the client directory and add your environment variables:
NEXT_PUBLIC_SOCKET_URL=http://localhost:8080
NEXT_PUBLIC_API_URL=http://localhost:8080
- Start the server:
cd server
npm start
# or
yarn start
- Start the client:
cd ../client
npm run dev
# or
yarn dev
- Open your browser and navigate to
http://localhost:3000
.
Feel free to submit issues and pull requests.
Distributed under the MIT License. See LICENSE
for more information.