Skip to content

SquareMan/leaderboard-backend

 
 

Repository files navigation

leaderboard-backend

An open-source community-driven leaderboard backend for the gaming community.

Links

Tech-Stack Information

  • This repository only contains the backend, and not the UI for the website.
  • GoLang is used for implementing the backend.
  • Only a GraphQL API (with a JSON POST endpoint) is being implemented so far.

Developing

Requirements

  • Go 1.11+.
  • Make to run build scripts.
  • gcc to run race detection on unit tests.

Useful links

How to run

To get an interactive API interface:

  • make gql_run
  • Go to localhost:3030/graphiql

To test HTTP endpoints:

  • make gql_run
  • Make POST requests to localhost:3030/graphql/http

Running tests:

  • make test

Running benchmarks:

  • make bench

Running in a container

  • docker build . -t graphql_server
  • docker run -p 3030:3030 -d graphql_server
  • Voila! Go to localhost:3030/graphql

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.8%
  • Makefile 2.6%
  • Dockerfile 2.6%