---
# System prepended metadata

title: Untitled

---

## architecture
- App (typescript, react native)
- Server (flask, docker) // define ip and ports
- Postgre (docker) // define ip and ports

## Data Model
Json model for a single trash can.
```js
{
    id: number,
	coordinates: Position,
	title: string,
	description: string,
	categories: TrashCategory[] // enum,
    images: imagesByUser[],
}
```

## server API

- retrieve_all_data () // this queries postgre and returns a list of JSONS. (future graphql)
- Submit trash can // recieves JSON and submit to dataset.
    - on submit validate on serve side. //specify formats and set boundaries.
    - 



