Skip to content

PierreCrb/PhoenixAPI-Nodejs-Typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhoenixBot

Nodejs & Typescript Wrapper

Developed by 0xPierre

Getting Started

The purpose of this example is to show you an implementation of the Phoenix API using NodeJS and Typescript.

Prerequisites

You must have Nodejs installed on your computer.

Installation

  1. Clone the repo

    git clone https://github.com/PierreCrb/PhoenixAPI-Nodejs-Typescript/tree/main
  2. Install NPM packages

    npm install
  3. Enter your Phoenix port in config.json

    {
       "port": 11111,
       "host": "127.0.0.1"
    }

Usage

  1. Start API

       npm start
  2. 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
    }

About

Nodejs & Typescript Wrapper Phoenix API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published