Rukeith / HangeeHackthon-Vote

for hackthon 6th final vote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HangeeHackthon-Vote

For Hackthon 7th final vote.

Flow

pre-install

how to start

npm start
open http://localhost:8080

api

  • Create a team :洗洗睡 (for test)
[GET] api/create/test

input date : none

  • Create a team
[POST] api/team

input data :

team {
	name : String,
	imgURL : String,
	projectName : String,
	members : [
			{ name : String, phone : String }, ...	
	],
}
  • get all teams & team's project info
[GET] api/teams
  • get the teams & team's project info, with id (沒用到
[GET] api/team:id
  • modify group & porject info, with id (沒用到
[PUT] api/teams:id
  • vote, with id
[PUT] /vote:id
  • vote teamSSS, with id[]
[PUT] /voteS

input date: id Array

  • unVote, with id (沒用到
[PUT] /unVote:id
  • remove a team (沒用到
[DELETE] /unVote:id

##include

About

for hackthon 6th final vote


Languages

Language:JavaScript 61.7%Language:CSS 20.2%Language:HTML 18.1%