Skip to content

trevorblades/hltv-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HLTV.org GraphQL API

This API wraps the unofficial hltv Node client.

Running locally

Clone this repo and cd into it. You're going to need to create a .env file that exposes a PORT variable. It will look like this:

# specify the port you want the server to listen to
PORT=4000

Next, install the project dependencies and start up the dev server. If everything works, you'll see a message in your terminal with the URL that the API is available at. ๐Ÿš€

$ npm install
$ npm start

If you access the provided URL in a browser (http://localhost:4000 in this example), you'll get a GraphQL playground to read over the API schema and test out some queries.

Releases

No releases published

Packages

No packages published