Skip to content

ismailgunayy/sharecode

Repository files navigation

License Railway Node Version

ShareCode

A collaborative tool for developers to share code in real time

Features

  • Real-time code sharing
  • Shareable session links for easy collaboration
  • Syntax highlighting for multiple programming languages
  • Clean, minimalist interface

See TODOS.md for further features, bugs, and improvements.

Tech Stack

This is a monorepo built with TurboRepo

Frontend

Backend

CI/CD

Getting Started with Docker Setup

Requirements

  • Node.js v22.14.0
  • Yarn
  • Docker

Create following files:

# apps/client/.env
API_URL=http://localhost:8023/api
WS_SERVER_URL=ws://localhost:8023
# apps/server/.env
NODE_ENV=development
PORT=8023
CLIENT_ORIGIN=http://localhost:3023

REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=password
CACHE_SERVICE_SLEEP_TIME_IN_MINUTES=10
CACHE_SERVICE_DATA_TTL_IN_HOURS=24
# apps/server/redis.conf
requirepass password
port 6379
bind 0.0.0.0

Running the development environment

docker compose -f docker-compose.dev.yml up

Go to http://localhost:3023

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A collaborative tool for developers to share code in real time

Topics

Resources

License

Stars

Watchers

Forks