A distributed system with components in different languages:
- Python client
- C proxy server
- Node.js server
.
├── client/ # Python client
│ ├── src/
│ │ └── client.py
│ └── requirements.txt
│
├── proxy/ # C proxy server
│ ├── src/
│ │ └── proxy.c
│ └── Makefile
│
├── server/ # Node.js server
│ ├── src/
│ │ └── server.js
│ └── package.json
│
├── docs/ # Documentation
│ └── ...
│
├── shared/ # Shared resources
│ └── config/
│ ├── .env
│ └── .env.example
│
├── .gitignore
└── README.md
- Install Python 3.x
- Install dependencies:
cd client pip install -r requirements.txt - Run the client:
python src/client.py
- Install gcc
- Compile:
cd proxy make - Run the proxy:
./proxy
- Install Node.js
- Install dependencies:
cd server npm install - Run the server:
node src/server.js
- Copy the example environment file:
cp shared/config/.env.example shared/config/.env
- Update
.envwith your configuration
- Python: 3.x
- C: C99
- Node.js: See server/package.json