Categorygithub.com/RianNegreiros/go-graphql-api
module
0.0.0-20241216012826-823d6a474e51
Repository: https://github.com/riannegreiros/go-graphql-api.git
Documentation: pkg.go.dev

# README

Go Postgres GraphQL Docker

Social Network GraphQL API

FeaturesHow to runTests

Social Network API based on Twitter using GraphQL

schema

Features

  • Create a account
  • Login to a account
  • Create posts
  • Reply to posts
  • Delete posts

How to run

On Docker

Requirements

  1. Clone the project.
git clone https://github.com/RianNegreiros/go-graphql-api.git
  1. Run with Docker
make run-docker

Access the GraphQL playground on localhost:8080

Tests

Unit tests

make test

Integration tests

  1. Setup .env.test

  2. Setup database for tests. You can use the docker compose, running `

docker-compose up test_db -d
  1. Run the tests
make test-integration

Manual Tests

Run in Insomnia}

# Packages

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