Giter Club home page Giter Club logo

myleague.backend's Introduction

MyLeague

Soccer leagues management

The example collections are here:

Users collection

{
	"person": {
		"id": 1,
		"login": "JDoe",
		"password": "abcdef",
		"first_name": "John",
		"last_name": "Doe",
		"gender": "male",
		"address": { 
			"street": "301 Heights Ln",
			"city": "Feasterville-Trevose",
			"state": "PA",
			"zip": "19053"
		},
		"birth":  "2011-07-14T19:43:37+0100",
		"photo": "Images/Person_123456789.png",
		"contact": {
			"phone": "+1123456789",
			"email": "[email protected]",
			"skype": "john.doe"
		},		
		"documents": {
			"season": 1,
			"document": "Documents/Document_123456789.pdf"
		},
		"payments": {
			"season": 1,
			"payment_method": ["check", "cash", "direct deposit"]
		},
		"role": "Right wing-back (RWB)",
		"access_level": {
					"level" : 5, 
					"group" : "dev"
		},		
		"status": "active",
		"notifications": [
			{
				"id": 1,
				"personid": 1,
				"category": "Action",
				"priority": "1",
				"type": "JoinTeam",
				"params": [],
				"status": "closed"
			}
		]
	}
}

Teams collection

{
	"team": {
		"id": 1,
		"name": "InterStars FC",
		"logo": "Images/InterStarsFC_logo.png",
		"coach": 1,
		"captain": 1,
		"players": [
			{
				"id": 1,
				"personid": 2,
				"shirt_number": "3",
				"role": "Right wing-back (RWB)"
			}
		],
		"colors": {
			"home": "yellow",
			"away": "green",
		},
		"status": "Active"
	}
}

Leagues collection

{
    "league": {
        "id": 1,
        "type": "Soccer",
        "name": "Bucks County Coed",
		"teams": [ 1 ],
		"seasons": [ 1 ],
		"association": "Bucks County Soccer Association",
		"last_updated": "2011-07-14T19:43:37+0100",
		"address": {
			"street": "125 Upper Holland Rd",
			"city": "Richboro",
			"state": "PA",
			"zip": "18954"
		}
	}
}

Seasons collection

{
	"season": {
		"id": 1,
		"leagueid": 1,
		"name": "Fall 2015",
		"status": "Active",
		"teams": [
			{
				"id": 1,
				"name": "InterStars FC",
				"logo": "Images/InterStarsFC_logo.png",
				"coach": 1,
				"captain": 1,
				"players": [
					{
						"id": 1,
						"personid": 2,
						"shirt_number": "3",
						"role": "Right wing-back (RWB)"
					}
				],
				"colors": {
					"home": "yellow",
					"away": "green"
				}
			}
		],
		"games": [
			1,
			2
		]
	}
}

Pitch collection

{
	"pitch": {
		"id": 1,
		"address": { 
			"street": "125 Upper Holland Rd",
			"city": "Richboro",
			"state": "PA",
			"zip": "18954"
		},
		"map": "https://www.google.com/maps/place/Richboro+Elementary+School/@40.2102964,-75.0039346,17z/data=!3m1!4b1!4m2!3m1!1s0x89c6ac988167955b:0x9c290bf1d8543b2d"
	}
}

Games collection

{
	"game": {
		"id": 1,
		"date": "2011-07-14T19:43:37+0100",
		"teams": {
				"home": {
						"team": 1,
						"score": 1
				},
				"away":	{
						"team": 2,
						"score": 0
				}
		},
		"judges": {
			"main": 1,
			"side1": 2,
			"side2": 3
		},
		"pitch": 1,
		"facts": [
			{
				"time": "2011-07-14T19:43:37+0100",
				"team": 1,
				"player": 2,
				"type": "goal",
				"own": "false"
			},
			{
				"time": "2011-07-14T19:43:37+0100",
				"team": 2,
				"player": 3,
				"type": "card",
				"color": "yellow"
			}
		]
	}
}

http://d3js.org/ http://json2csharp.com/ http://jsonlint.com/ http://www.codeproject.com/Articles/868000/Push-Notification-For-Windows-iOS-Android-Quick-Ea http://www.restapitutorial.com/httpstatuscodes.html http://stackoverflow.com/questions/4687271/jax-rs-how-to-return-json-and-http-status-code-together

myleague.backend's People

Contributors

bkreminski-moldev avatar krembf avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

avilamisc

myleague.backend's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.