3Dshock/client
E 963939d511 🏗️
2021-03-07 19:21:31 -07:00
..
.vscode 🤞 2021-03-07 18:18:51 -07:00
build 🏗️ 2021-03-07 19:21:31 -07:00
public 🥳 2021-03-07 19:17:00 -07:00
src 🏗️ 2021-03-07 19:21:31 -07:00
.gitignore 🏗️ 2021-03-07 19:21:31 -07:00
.prettierrc 🤞 2021-03-07 18:18:51 -07:00
package-lock.json 🥳 2021-03-07 19:17:00 -07:00
package.json 🤞 2021-03-07 18:18:51 -07:00
README.md 🥳 2021-03-07 19:17:00 -07:00
tsconfig.json 🤞 2021-03-07 18:18:51 -07:00
yarn.lock 🥳 2021-03-07 19:17:00 -07:00

3DShock Client

Requirements (pages)

Routes

Client Datatype

type Client = {
  name: string
  email: string
  phone: number
  active_session: boolean
}

post /api/clients -> create new client get /api/clients -> get client list get /api/clients/:id -> get client

type Session = string[] | null

post /api/clients/:id/session -> begin capture get /api/clients/:id/session -> get active sesion (list of preview photo locations) delete /api/clients/:id/session -> delete all current photos (for new capture)

Create Session

Information gathering

  • name
  • email
  • phone

Session Capture

start session

Capture Review Phase

Capture Finish -> Create Session