This API wraps the unofficial hltv
Node client.
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.