This commit is contained in:
E
2021-03-07 19:17:00 -07:00
parent 11cf67b594
commit d1e5b0310b
16 changed files with 28267 additions and 8961 deletions
+25
View File
@@ -2,6 +2,31 @@
# Requirements (pages)
# Routes
Client Datatype
```ts
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
```ts
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