TalkToBeavs is a real-time chat application that allows users to communicate with each other through text, audio, and video. It is limited to Oregon State University students and faculty, but provides a fun and easy way to connect with other Beavers! Check it out here. 🚀
- Clone the repository
- Install dependencies
- Get environment variables
- Run the project
git clone https://github.com/Nyumat/TalkToBeavs.git
cd TalkToBeavs/frontend
npm install # or yarn, pnpm, etc.
cd ..
npm install
Note: You will need to create a MongoDB database and a Giphy API key.
Frontend:
# Create a .env file in root of the frontend directory
VITE_APP_PROD_BACKEND_URL="http://localhost:[PORT BACKEND IS RUNNING ON]"
Backend:
# Create a .env.local file in the root directory
touch .env.local
# Your .env.local file should look like this:
PORT=
MONGODB_URI=
FEED_ID=
JWT_PRIVATE_KEY=
GIPHY_API_KEY=
# Don't forget to add your own values!
# Run the frontend
cd frontend
npm run dev
# Open a new terminal window and run the backend
cd TalkToBeavs (root directory)
npm run dev
- React
- JavaScript library for building user interfaces
- MongoDB
- NoSQL document database
- Vite
- Build tool for frontend development
- Socket.io
- Real-time communication between client and server
- Redux Toolkit
- Flux-like state management library
- Express
- Web application framework for Node.js
- WebRTC
- Peer-to-peer video and audio communication in the browser
- Chakra UI
- Simple, modular, and accessible component library
- React Router
- Declarative routing for React
- Giphy API
- API for searching and retrieving GIFs