Sign inSign up

hseling/hseling-api-judgment

By hseling

•Updated over 5 years ago

Image
0

100K+

hseling/hseling-api-judgment repository overview

⁠judgment

This is Judgment.

⁠Local development

Install npm dependencies:

cd hseling_web_judgment/src/web/static; npm install .; cd ../../../..

⁠API development

You can develop your API without docker environment:

cd hseling_api_judgment/
make run

⁠Docker containers

Build and run composed docker environment:

docker-compose build
docker-compose up

To stop your environment press C-c or:

docker-compose stop

⁠Checking your application

Check if your API container started successfully:

curl http://localhost:5000/healthz

Now you can use curl to check RPC endpoints at localhost:5000:

curl -XPOST -H "Content-type: application/json" -d '{"id": 1, "method": "list_files", "params": []}' http://localhost:5000/rpc/

You can navigate to main web application using this link:

open http://localhost:8000/web/

⁠License

MIT License. See LICENSE file.

Tag summary

Content type

Image

Digest

Size

477.6 MB

Last updated

over 5 years ago

docker pull hseling/hseling-api-judgment