Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/splitscreen-me/splitscreenme-hub

SplitScreen.Me - Public Hub 📦
https://github.com/splitscreen-me/splitscreenme-hub

ant-design antlr4 gaming gaming-website javascript meteorjs mongodb react reactjs splitscreen

Last synced: about 1 month ago
JSON representation

SplitScreen.Me - Public Hub 📦

Awesome Lists containing this project

README

        

# SplitScreen.Me Hub 📦
SplitScreen.Me Logo

![CI/CD](https://github.com/SplitScreen-Me/splitscreenme-hub/workflows/CI/badge.svg)
![Swag](https://img.shields.io/badge/swag-100%25-green)
![Love](https://img.shields.io/badge/Love-MUCH-ff69b4)

## About the Hub 📦

The Hub is created using [Meteor](https://www.meteor.com/), [React](https://www.reactjs.org), [Antd Design](https://ant.design/).

Feel free to [contribute](#contribute) and help us build the most amazing **hub for splitscreened games** ever!

## Basic API 🔥

Handler research:
```
url: "api/v1/handlers/:search_text",
httpMethod: "get"
```

Get all handlers (up to 500):
```
url: "api/v1/allhandlers",
httpMethod: "get"
```

Specific handler infos:
```
url: "api/v1/handler/:handler_id",
httpMethod: "get"
```

Get available packages for one handler:
```
url: "api/v1/packages/:handler_id",
httpMethod: "get"
```

Get package info:
```
url: "api/v1/packages/:package_id",
httpMethod: "get"
```

Get comments done by users about a handler:
```
url: "api/v1/comments/:handler_id",
httpMethod: "get"
```

Download a package from it's ID:
```
url: /cdn/storage/packages/:package_id/original/handler-{handler_id}-v{version_of_handler}.nc?download=true
httpMethod: "get"
```

Get IGDB screenshots for a handler:
```
url: "api/v1/screenshots/:handler_id",
httpMethod: "get"
```

## Contribute
### Prerequisites
1. IDE or text editor. for example [WebStorm](https://www.jetbrains.com/webstorm/) or [VSCode](https://code.visualstudio.com/)
2. IDE for MongoDB, we recommend [NoSQLBooster](https://nosqlbooster.com/)
#### Installation
You must use Node v12 and not a higher version.
```
$ npm install
```
#### Local Development
```
$ npm run dev
```
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.