Skip to content

hseling/hseling-repo-judgment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published