A online compiler to compile code in 8 different languages without going through the hassle of a local setup
- TypeScript - For type safety and improved developer experience
- TanStack Router - File-based routing with full type safety
- TailwindCSS - Utility-first CSS for rapid UI development
- Express - Fast, unopinionated web framework
- Turborepo - Optimized monorepo build system
- Codemirror - Code editor UI and extensions for different languages
- Docker - For running container for different languages
- First, install the dependencies:
pnpm install-
Make sure docker is running in the background
-
Then, run the development server:
pnpm devdocker build -t compilerz .
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 -p 8000:8000 compilerzOpen http://localhost:3000 in your browser to see the web application. The API is running at http://localhost:8000.
compilerz/
├── apps/
│ ├── web/ # Frontend application (React + TanStack Router + TailwindCSS)
│ └── server/ # Backend API (Express)
pnpm dev: Start all applications in development modepnpm build: Build all applicationspnpm dev:web: Start only the web applicationpnpm dev:server: Start only the serverpnpm check-types: Check TypeScript types across all apps