项目作者: fastplaz

项目描述 :
Echo Tester
高级语言: JavaScript
项目地址: git://github.com/fastplaz/echo.git
创建时间: 2016-12-16T20:31:14Z
项目社区:https://github.com/fastplaz/echo

开源协议:

下载


ECHO Tester with FastPlaz

Live Echo Tester

Try echo site :
http://echo.fastplaz.com/?var1=value1&var2=value2

You can use GET or POST method.

TRY THIS FIRST

For you guys that want to try fastplaz without need to compile, download this file:
http://echo.fastplaz.com/files/echo.zip

Same content with this repository, but just have 1 additional binary file for linux environment.

Follow this step:

  1. Upload all files in folder ‘public_html/‘ to your website’s homedir.
    if you use cpanel hosting, usually in folder ‘/home/username/public_html/‘
  1. Make write permission to folder ‘ztemp/‘, ex:
    chmod -R 777 ztemp/

then try access from your browser with this format url:

http://yourdomain/?var1=value1&var2=value2

The result should be like this:

from browser:

Example from browser

using curl from console:

from Curl in console

using postman:

from Postman

DEPLOY WITH DOCKER

It is easy to deploy this project via Docker. We have prepared FastPlaz image in docker hub.

Follow this step:

Build docker image:

  1. # cd docker
  2. # ./build.sh

if successfull, run container:

  1. # ./run.sh

then you should see this result

from Postman

References

Semangat ….!