Skip to content

varun-official/I_Write_Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I Write Code

A real-time collaborative coding platform with Code sync.

JavaScriptExpress ReactNode Socket.io MongoDB Redis

Features

  • Realtime synced code editor (single cursor)
  • Currently supports 7 languages.
  • (C++, swift, Python, Go, C, PHP,JavaScript)
  • Customizable editor themes(More than 5 currently)
  • Code is persisted using MongoDB so that session can be resumed any time.
  • User details stored in Redis to manage and efficiently maintain user connections.
  • Built-in compiler

Installation

Codewired requires Node.js to run. Install the dependencies and devDependencies and start the server and client.

Environment vars

Key Value
MONGODB_URL MongoDB Atlas/local
NODE_ENV dev, prod
REACT_APP_BACKEND_URL server endpoint with port
REACT_APP_ENV dev, prod
REDIS_URI Redis redislabs/local
REDIS_PASSWORD Redis redislabs/local
REDIS_PORT Redis redislabs/local