warpin

module
v0.0.0-...-404b49c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2021 License: MIT

README

Warpin

GoLang dockerize microservices and GraphQL.

System Diagram

Alt text

Folder Structure

app
├── service
│   ├── cmd
│   │   └── service
│   │       └── main.go
│   ├── pb
│   │   └── service.pb.go
│   ├── app.dockerfile
│   ├── db.dockerfile
│   ├── service.proto
│   ├── client.go
│   ├── service.go
│   └── server.go
├── graphql
│   ├── app.dockerfile
│   ├── graph.go
│   ├── main.go
│   ├── models.go
│   ├── query_resolver.go
│   ├── mutation_resolver.go
│   ├── schema.graphql
│   └── gqlgen.yml
├── docs
│   ├── postman
│   │   ├── postman_collection.json
│   │   └── postman_environtment.json
│   └── diagram.png
├── vendor
├── go.sum
└── go.mod

Postman

postman collection & environment

.
├── ...
├── docs                                        # Documentation files
│   ├── postman                                 # Postman
│   │   ├── Warpin.postman_collection           # Postman Collection
│   │   └── Warpin.postman_environment          # Postman Environment
│   └── ...
└── ...

Requirement

  • installed docker & docker-compose

Build

$ docker-compose up -d --build

Open http://localhost:8000/playground in your browser.

How to

  1. Run the warpin app with docker-compose
  2. Import postman collection & environtment to your postman application
  3. Try to send request from imported collection
  4. You also can try from the graphQL playground in browser http://localhost:8000/playground
  5. Copy the request from postman & try it from graphQL playground

Directories

Path Synopsis
pb
pb
category
pb
pb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL