Developed by 0xPierre
The purpose of this example is to show you an implementation of the Phoenix API using NodeJS and Typescript.
You must have Nodejs installed on your computer.
-
Clone the repo
git clone https://github.com/PierreCrb/PhoenixAPI-Nodejs-Typescript/tree/main
-
Install NPM packages
npm install
-
Enter your Phoenix port in
config.json
{ "port": 11111, "host": "127.0.0.1" }
-
Start API
npm start
-
And you should see in the console all the messages received with this format:
{ [17:21:17] [RECV] stat 16258 16108 4152 7589 0 1458 [17:23:26] [SEND] walk 15 15 1 12 }