Skip to content

devAlisha/CodeCollabBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Collab Backend

This is the backend for the Code Collab application, which provides real-time collaborative coding features using Node.js, Express, and Socket.io.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/CodeCollabBackendNew.git
    cd CodeCollabBackendNew
  2. Install dependencies:

    yarn install

Usage

To start the server in development mode with hot-reloading:

yarn dev

To start the server in production mode:

yarn start

Environment Variables

Create a .env file in the root directory and add the following environment variables:

PORT=5000
ORIGIN=http://localhost:3000

Project Structure

src
├── config
│   └── envVariables.js
├── server.js
└── socket
    └── roomSocket
        ├── createRoomHandler.js
        ├── disconnectHandler.js
        ├── joinRoomHandler.js
        ├── leaveRoomHandler.js
        ├── roomHandler.js
        └── updateHandler.js
    utils
        └── cleanupDisconnectHandler.js
index.js
package.json
README.md
.gitignore
.editorconfig
.yarnrc.yml

Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published