So I made a simple app, a Tricycle Patrol app which you can report reckless tricycle drivers (no 1 problem here in our city) by logging in and filling up forms. The report form contains:
- created_at
- description
- lat
- lng
- plateNumber
And so far, this is the structure of my json:
Is there a cleaner way to do this? So far it works though for example I want to get all reports by plateNumber
I think it would be tricky.
Any suggestions would be much appreciated.
PS: I know it's not a relational database though I'm open for suggestions