Go to file
Adrien Marquès 0a6705b938 add v1 readme 2018-10-17 17:59:02 +02:00
.gitignore project barebone (?) 2018-10-17 17:34:36 +02:00
LICENSE Initial commit 2018-10-17 16:06:39 +02:00
README.md add v1 readme 2018-10-17 17:59:02 +02:00
main.ts project barebone (?) 2018-10-17 17:34:36 +02:00
mixer.ts project barebone (?) 2018-10-17 17:34:36 +02:00
tsconfig.json project barebone (?) 2018-10-17 17:34:36 +02:00

README.md

| API mixer |

Simple REST API mixer as a service. A minimal service will be deployed on your local port 8000, all incoming data has to be sent by POST fields (e.g. form-data, x-www-form-urlencoded). The output is a application/json set.

Launch the project

1. Transpile sources

You need to install typescript, it will automatically install its compiler (i.e. tsc) into your environment path. You can easily install it globally with npm -g i typescript.

Then launch the following command inside the project's folder :

$ tsc
2. Launch server

You need to have node installed.

Launch the server with the following command (inside the project's folder) :

$ node main.js
3. Test the API

Simply use Postman or whatever API client at 127.0.0.1:8000.