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

intiluha/grpcSandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpcSandbox

Learning gRPC

In order to use, set enviromental variables

export GRPC_SANDBOX_ROLE=role
export GRPC_SANDBOX_PASSWORD=pass
export GRPC_SANDBOX_DB_NAME=database

...and create the following tables

create table users
(
    id         uuid default gen_random_uuid() primary key,
    name       text      not null,
    age        smallint  not null,
    type       smallint  not null,
    created_at timestamp not null,
    updated_at timestamp not null
);
create table items
(
    id         uuid default gen_random_uuid() primary key,
    name       text      not null,
    user_id    uuid      not null references users (id) on delete cascade,
    created_at timestamp not null,
    updated_at timestamp not null
);

About

Learning gRPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0