Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harjot1singh/foc-2015
YRS Festival of Code 2015
https://github.com/harjot1singh/foc-2015
Last synced: 1 day ago
JSON representation
YRS Festival of Code 2015
- Host: GitHub
- URL: https://github.com/harjot1singh/foc-2015
- Owner: Harjot1Singh
- Created: 2015-07-27T13:18:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-01T05:25:09.000Z (over 9 years ago)
- Last Synced: 2024-05-12T05:50:38.630Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.61 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FoC-2015
Young Rewired State Festival of Code 2015 @ Cyber-duck
Structure
Backend
API
POST /api/user to create/"authenticate" user
Pass json object containing: firstName, lastName, gender, minAge, maxAge, number, email, serviceID, serviceName
Returns {"userID" : "14"}. Store this to make a match request later on or access match page.POST /api/request to create a match request
Pass JSON object containing: userID (received), gpsX (of the user), gpsY, publicLatitude, publicLongitude, publicName, endDate, activityName
Returns {"requestID" : "2114"} on success.POST /api/matches to receive a list of all matched details
Pass JSON object containing: userID (Received before).
Returns
{
"matches" : {[
{
"activityName" : "gaming",
"requestID" : "324243234",
"publicName" : "Ealing",
"distanceFromVenue" : "2",
"endDate" : "12/12/2012",
"users" : [{"firstName" : "Bob",
"lastName" : "Vagan",
"number" : "0221232323",
"email" : "[email protected]"
"serviceID" : "1212313",
"serviceName" : "facebook",
"matchID" : "21" //The id of the "matched up" requests
"accepted" : "true", //rejeted will be not be on this list. False means pending.
"distanceFromVenue" "1"
},
{"firstName" : "ALice",
"lastName" : "Joan",
"number" : "0221232323",
"matchID" : "29",
"email" : "[email protected]"
"serviceID" : "1666313",
"serviceName" : "facebook",
"accepted" : "false",
"distanceFromVenue" "3"
}
]
},
{
"activityName" : "gardening",
"endDate" : "12/02/1234",
"requestID" : "12321",
"publicName" : "Northwood",
"distanceFromVenue" : "2",
"users" : [{"firstName" : "Bob",
"lastName" : "Vagan",
"number" : "0221232323",
"matchID" : "26",
"email" : "[email protected]"
"serviceID" : "1212313",
"serviceName" : "Facebook",
"accepted" : "true",
"distanceFromVenue" "1"
},
{"firstName" : "Bond",
"lastName" : "Joan",
"matchID" : "25",
"number" : "0221232323",
"email" : "[email protected]"
"serviceID" : "1666313",
"serviceName" : "Facebook",
"distanceFromVenue" "3"
}
]
}
]
}
}POST /api/delete to delete
Pass JSON object {"requestID" : "21321" }Database
tb-main
ID
Int
Legitimate
Gender
Int
M F N
First Name
String
Under 50 char
Last Name
String
Under 50 char
DOB
Date
Check Age
SMS
String
Legitimate
String
Legitimate
Rules
- HTML/CSS/JS for frontend goes in public, rest go in corresponding folders
- Do not break code (in the master branch)
- Log issues in Github and then contact appropriate member of team
- Prefer tabs over spaces for indentation
- Do not introduce new features without consulting team/subteam
- Try to commit + push at the very least after a feature has been implemeneted
- Remember to commit -> pull -> resolve any conflicts -> push
Team
- Harjot Tim
- Jake Chris
- Daniel Charles
- Zekki
Description
This app will use facebook to authenticate people.
Then people put in the activities they wish to do and
they will be matched up with someone else with the same
interests.
APIs
- Facebook Clockwork
- Maps (Microsoft Age API)
Homepage
Login with Facebook
Geolocate
FB account has to be active at least 6 months
Notice / Activity Board
Notifications
SMS FB Email
Parameters
What you wanna do
Time limit
age ranges (fb) + [microsoft api]
location (distances)
gender checkbox