Go Simple Web Application
A Simple Web Application Example for Handling Modern API Technologies.
How To Run
Grpc
GRPC
Postman - Grpc Collections
Install migration & Run database
# migration
$ curl -L https://github.com/golang-migrate/migrate/releases/download/$version/migrate.$os-$arch.tar.gz | tar xvz
# database
docker-compose up -d --build
Copy Env
cp .envrc.example .envrc
Build Proto
make proto_build
Run Migrate
make migration/up
Run Application
make run/rpc
RestAPI
RestAPI
Postman - RestAPI Collections
Install migration & Run database
# migration
$ curl -L https://github.com/golang-migrate/migrate/releases/download/$version/migrate.$os-$arch.tar.gz | tar xvz
# database
docker-compose up -d --build
Copy Env
cp .envrc.example .envrc
Run Migrate
make migration/up
Run Application
make run/rest
Web
Web
Install migration & Run database
# migration
$ curl -L https://github.com/golang-migrate/migrate/releases/download/$version/migrate.$os-$arch.tar.gz | tar xvz
# database
docker-compose up -d --build
Copy Env
cp .envrc.example .envrc
Run Migrate
make migration/up
Run Application
make run/web
GraphQL
GraphQL
Postman - GraphQL Collections
Install migration & Run database
# migration
$ curl -L https://github.com/golang-migrate/migrate/releases/download/$version/migrate.$os-$arch.tar.gz | tar xvz
# database
docker-compose up -d --build
Copy Env
cp .envrc.example .envrc
Run Migrate
make migration/up
Run Application
make run/graphql
Contributors