Categorygithub.com/ArianNexux/go-graphql
module
0.0.0-20230426210746-533f09f9a232
Repository: https://github.com/ariannexux/go-graphql.git
Documentation: pkg.go.dev

# README

API with GraphQL in Golang

Hello, This is a simple project creating an API with GraphQL

STEPS TO TUN THE APP

CREATE THE IMAGE AND RUN THE CONTAINER

docker build [IMAGE NAME]

docker run [IMAGE NAME]

INSTALL SQLITE ON LINUX AND CREATE THE TABLE FOR DATABASE

sudo apt-get install sqlite3

sudo sqlite3 database.db

CREATE TABLE categories(id string, name string, description string);

CREATE TABLE course(id string, name string, description string, categoryId string);

RUN THE APP

go run server.go

FEATURES

  • INSERT COURSE
  • INSERT CATEGORY
  • LIST COURSE
  • LIST CATEGORY

API DOCUMENTATION

Playground GraphQL

  GET /

In future i will publish this image in Docker Hub.

Author

# Packages

No description provided by the author
No description provided by the author