Welcome to Code Collab! This platform is designed to help you connect with like-minded individuals, share your work, and bring your ideas to life in a collaborative environment. Code Collab comes packed with features such as authentication, project sharing, discussions, whiteboarding, and chat.
- Authentication: Secure login and registration system.
- Share Your Work: Easily share your code and projects with others.
- Discussions: Engage in meaningful discussions with other members.
- Whiteboarding: Collaborate on ideas and diagrams using our whiteboarding tool.
- Chat Feature: Communicate in real-time with other members.
To get started with Code Collab locally, follow these steps:
- Ensure you have Node.js and npm installed on your system.
- MongoDB should be set up and running on your machine or have access to a MongoDB URI.
-
Fork and Clone the Repository
Fork the repository on GitHub and then clone it to your local machine:
git clone https://github.com/your-username/code-collab.git cd code-collab -
Frontend Setup
Navigate to the
frontenddirectory and install the necessary dependencies:cd frontend npm installCreate a
.envfile in thefrontenddirectory with the following content:REACT_APP_API_URL=Your API URL link
Start the frontend server:
npm start
-
Backend Setup
Navigate to the
backenddirectory and install the necessary dependencies:cd ../backend npm installCreate a
.envfile in thebackenddirectory with the following content:PORT=8088 MONGO_URI=Your MongoDB URI JWT_SECRET=Your JWT Secret
Start the backend server:
npm start
Once both the frontend and backend servers are running, you can access Code Collab by navigating to http://localhost:3000 in your web browser.