8000 GitHub - arxdsilva/jpar
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

arxdsilva/jpar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

project

two apis that communicate by gRPC. client API also has a rest API.

Running

Despite having a docker-compose you'll need to build the containers and then run the compose file. After building the services you can run it with:

    $ docker-compose up

After running all apps just get into the localhost:8888 to access the home or localhost:8888/ports to view ports.

client

client looks for a file named `ports.json` to parse in its directory, if not present it'll not feed the backend service with data.

endpoints

/ healtcheck should return always 200 /ports should return 200/500

build container

    $ cd client
    $ docker build -t client .

backend

RPCs

UpsertPort Should try to update or insert a port record

ListPorts Should list all ports in db

build container

    $ cd backend
    $ docker build -t backend .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0