You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ MongoDB was opted for as our database solution due to its flexibility, scalabili
14
14
15
15
### Design Pattern And Performance Enhancement
16
16
##### MVC(model-view-controller) design pattern is followed for this backend system.
17
-
<br/>
17
+
18
18
##### For optimize query performance mongoDB database indexing has been done on 'date' attribute with sorting order set to ascending as in this assignment queries are related to 'date' only.
19
-
<br/>
19
+
20
20
##### This '/event/find' API endpoint reuire data from given external weather and distance APIs. Hence concurrent programming has been implementesd to concurrently fetch responces from external APIs for all the events occurring within the next 14 days from the specified date. Here javascript Promises are used for concurrency with robust error handling. (see controller.js file)
21
-
<br/>
21
+
22
22
##### All the API endpoints has robust error/exception handling.
0 commit comments