Skip to content

FukeKazki/3i-entry-exit-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server of 3i-entry-exit

URL: https://server-3i-entry-exit.herokuapp.com

はてなブログ: https://is.gd/yDZqUV

Description

入退場システム用サーバ

環境

  • heroku
  • heroku-postgre
  • express

API仕様

時刻投稿

route
POST /api/v1/post_time
param
{ user_handle: string, conditions: "入場" or "退場", time: date }
response
200
{}

名前一覧取得

route
GET /api/v1/names
param
{}
response
200
[string, ...]

ランキング取得

route
GET /api/v1/ranking
param
{}
response
200
[{ name: string, time: date }, ...]

入場表取得

route
GET /api/v1/entry
param
{}
response
200
[{ id: number, name: string, entry_time: date }]

退場表取得

route
GET /api/v1/exit
param
{}
response
200
[{ id: number, name: string, exit_time: date }]

About

高専祭クラス展示 入退場システムのサーバー側です

Resources

Stars

Watchers

Forks

Packages

No packages published