-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (28 loc) · 925 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
• https://www.bing.com/search?form=SKPBOT&q=README.md: Provide instructions on how to set up and run your application.
# Metrics Calculation Application
## Setup
1. Clone the repository
2. Configure MySQL database in `application.properties`
3. Run the application using `mvn spring-boot:run`
## Usage
• Place your JSON files in the specified directory
• Access the endpoint using below order:
###
POST http://localhost:8080/events/process
Content-Type: application/json
{
"impressions": [
"D:\\webmetrics\\files\\impression1.json",
"D:\\webmetrics\\files\\impression2.json"
],
"clicks": [
"D:\\webmetrics\\files\\click1.json",
"D:\\webmetrics\\files\\click2.json"
]
}
*** Please notice to change te file locations.
*** please notice that the first line of each file is a comment and is not processed.
###
GET http://localhost:8080/metrics
###
GET http://localhost:8080/recommendations