Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e805315

Browse files
Update README.md
1 parent a1f5b66 commit e805315

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

‎README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
Developed a RESTful service that manages and queries event data based on a user's geographical location and a specified date. This service will ingest data from a provided CSV dataset and then offer an API to find events for user
33

44
## Tech Stack choice
5-
Language/Environment - JavaScript, Node.JS
6-
Framework - Express.JS
7-
Database - MongoDB <br>
8-
<br>
9-
I wanted to take a moment to explain why I chose JavaScript, Express.js, and MongoDB. <br>
10-
JavaScript was chosen for its versatility, and asynchronous nature, making it well-suited for rapid development and handling concurrent operations.<br>
11-
Express.js, a minimalist web framework for Node.js, was selected for its simplicity, flexibility, and robust middleware support. <br>
12-
MongoDB was opted for as our database solution due to its flexibility, scalability, and ease of use. As a NoSQL database, it accommodates unstructured data, making it suitable for applications with evolving data schemas. <br>
5+
* Language/Environment - JavaScript, Node.JS
6+
* Framework - Express.JS
7+
* Database - MongoDB
8+
#### I wanted to take a moment to explain why I chose JavaScript, Express.js, and MongoDB.
9+
JavaScript was chosen for its versatility, and asynchronous nature, making it well-suited for rapid development and handling concurrent operations.<br/>
10+
<br/>
11+
Express.js, a minimalist web framework for Node.js, was selected for its simplicity, flexibility, and robust middleware support. <br/>
12+
<br/>
13+
MongoDB was opted for as our database solution due to its flexibility, scalability, and ease of use. As a NoSQL database, it accommodates unstructured data, making it suitable for applications with evolving data schemas. <br/>
1314

1415
### Design Pattern And Performance Enhancement
15-
MVC(model-view-controller) design pattern is followed for this backend system. <br>
16-
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. <br>
17-
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) <br>
16+
MVC(model-view-controller) design pattern is followed for this backend system. <br/>
17+
<br/>
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. <br/>
19+
<br/>
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) <br/>
21+
<br/>
1822
All the API endpoints has robust error/exception handling.
1923

2024
## Getting Started

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /