An open API service indexing awesome lists of open source software.

https://github.com/razvanmtn/go-node-integration

Run Go binary in Nodejs using child processes
https://github.com/razvanmtn/go-node-integration

child-process go golang node nodejs

Last synced: about 2 months ago
JSON representation

Run Go binary in Nodejs using child processes

Awesome Lists containing this project

README

          

# Go-Node Integration

## Overview

This repository demostrates how to run Go scripts from Nodejs application using `child_process` module. By leveraging Go's performance capabilities and Node's ease of use, you can achieve a powerful integration that maximizes the strengths of both languages.

## Features

- Run Go binaries from a Nodejs app
- Capture and handle the output from Go binaries within Node
- Example of performing basic operations (add, subtract)

## Prerequisites

Before you begin, ensure you have met the following requirements:

- Nodejs
- Go
- Git

## Getting started

1. Clone the repository
2. Build the go scripts: `npm run build`
3. Run the app: `npm start`

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.