A full-stack, open-source online judge platform designed to elevate college programming education.
Go to file
2025-02-20 14:18:13 +08:00
docker fix(docker): upgrade Node.js version to 22-alpine in Dockerfile to resolve reference error 2025-02-19 17:30:43 +08:00
public docs: add placeholder .gitkeep file to 'public' folder 2025-02-20 01:31:14 +08:00
src feat(code-editor): update default value for code editor based on language 2025-02-20 14:14:04 +08:00
.dockerignore feat(docker): add Dockerfile and .dockerignore for containerized environment setup 2025-02-19 17:13:31 +08:00
.env.example chore: add .env.example for environment variable configuration 2025-02-20 08:43:54 +08:00
.gitignore chore: update .gitignore to explicitly commit env files 2025-02-20 08:42:01 +08:00
bun.lock chore(deps): add devicons-react package 2025-02-20 14:01:57 +08:00
components.json chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
Dockerfile chore: update Dockerfile to specify Node.js v20 or higher for resolving ReferenceError 2025-02-20 08:54:37 +08:00
eslint.config.mjs chore: initialize the project 2025-02-19 09:00:15 +08:00
LICENSE chore: add MIT License file to the repository 2025-02-19 18:38:49 +08:00
next.config.ts feat(config): enable standalone output mode for Docker builds in Next.js 2025-02-19 17:14:25 +08:00
package.json chore(deps): add devicons-react package 2025-02-20 14:01:57 +08:00
postcss.config.mjs chore: initialize the project 2025-02-19 09:00:15 +08:00
README.md docs: update section title from "Development Setup" to "Manual Setup" in README 2025-02-20 14:18:13 +08:00
tailwind.config.ts chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
tsconfig.json chore: initialize the project 2025-02-19 09:00:15 +08:00

monaco-editor-lsp-next

A Next.js integration of Monaco Editor with LSP support, free from SSR issues.

🚀 Quick Start

# Clone repository
git clone https://github.com/cfngc4594/monaco-editor-lsp-next
cd monaco-editor-lsp-next

# Start containers in detached mode
docker compose -f ./docker/compose.yml up -d

🔧 Manual Setup

# Clone repository
git clone https://github.com/cfngc4594/monaco-editor-lsp-next
cd monaco-editor-lsp-next

# Start specific containers (lsp-c and lsp-cpp) in detached mode
docker compose -f ./docker/compose.yml up -d lsp-c lsp-cpp

# Install project dependencies using Bun package manager
bun install

# Run the development server
bun run dev

⚙️ Configuration

LSP Server Settings

Language LSP Server Port
C clangd 4594
C++ clangd 4595