implement track history api
Task
Implement track history api
Solution
- define interface and model for track history
- implement function in services
- call function from services to controller
- call controller func in routes
- add addition route in index.ts in src folder
Test
post request to /track_history
Expected work time
30 minutes