Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faddalibrahim/vooom-backend
backend for vhoom
https://github.com/faddalibrahim/vooom-backend
Last synced: 6 days ago
JSON representation
backend for vhoom
- Host: GitHub
- URL: https://github.com/faddalibrahim/vooom-backend
- Owner: faddalibrahim
- Created: 2022-04-25T23:19:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T16:22:33.000Z (over 2 years ago)
- Last Synced: 2023-03-10T04:46:21.908Z (over 1 year ago)
- Language: PHP
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Guidelines that might be helpful to note
* In a path, every first, and subsequent even node is a collection, every odd node is a document. Eg "collection/document/collection/document"
* Data is stored in documents. Collections help with logically grouping data
* Every node with "$" in the name indicates that the name is dynamic. i.e: "$user_name" implies this node has an id matching the user name of the relevant user. All other are static## Paths in the database
- Buses -> "public/bus_system/buses/$bus_id"
- Bus departures -> "public/bus_system/departure/$date" //the date should be in ISOString (2022-04-26T00:36:35.059)
- Notifications -> "public/communication/notification/$notification_id"
- Maintenance reports -> "public/communication/maintenance_reports/$report_id"
- Tickets (reciepts) -> "public/transactions/tickets/$ticket_id"
- Payments (transaction records) -> "public/transactions/payments/$payment_id"
- User payment information -> "public/user_info/$user_id/payment_info"
- Advanced credit balance -> "public/user_info/$user_id/advance_balance"