Skip to content

chienaeae/gql-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gql-todo

Introduction

This is a demo project implementing several graphQL-related techniques in go. And also to be served as a resource for my future referencing.

Get Started

How to set up environment

Run MySQL in docker

docker run --name gql-todo-mysql \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=myrootsecretpassword \
-e MYSQL_USER=user \
-e MYSQL_PASSWORD=mysecretpassword \
-e MYSQL_DATABASE=gql-todo \
-d mysql:8.0.32

Create gql-todo database

docker exec -it gql-todo-mysql bash

mysql -u root -p
#myrootsecretpassword

CREATE DATABASE gql-todo

Run Application

go run server.go

Feature Implementations

  • Custom Data Validation
  • Cursor-based pagination - Connections
  • Optimizing N+1 database queries

Related Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages