Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/cmelgarejo/go-gql-server

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cmelgarejo/go-gql-server

  • v0.0.0-20230925131715-2e80e8953276
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go-GQL-Server

Go Report Card

Opinionated GraphQL server using:

  • Gin-gonic web framework
    • go get -u github.com/gin-gonic/gin
  • Goth for OAuth2 connections
    • go get github.com/markbates/goth
  • GORM as DB ORM
    • go get -u github.com/jinzhu/gorm
    • Gomigrate
      • go get gopkg.in/gormigrate.v1
  • GQLGen for building GraphQL servers without any fuss
    • go run github.com/99designs/gqlgen init

Development with docker

Just run it with docker-compose:

$ docker-compose run dev

And you'll have your server running with realize for your development joy.

Deployment

Use docker, swarm or kubernetes, GCP, AWS, DO, you name it.

Running prod.dockerfile will build a multistaged build that will give you a slim image containing just the gql-server executable.

With docker-compose

$ docker-compose build prod

or

$ docker-compose run prod

Build from the prod.dockerfile

docker build -f docker/prod.dockerfile -t go-gql-server.prod ./

FAQs

Package last updated on 25 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc