File tree 3 files changed +32
-0
lines changed
3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## Get started
2
+ This project contains two projects, client and server
3
+
4
+ ## Client
5
+ Client project is bootstrapped with React [ read more] ( ./client/README.md )
6
+
7
+ ## Server
8
+ Server project has udp listener and express server [ read more] ( ./server/README.md )
Original file line number Diff line number Diff line change
1
+ ## Get started
2
+ The server has two servers, UDP server and HTTP Server.
3
+
4
+ Before you can run the scripts, please do the following:
5
+
6
+ 1 . Create an .env file in src folder contains following data
7
+ > EVENTHUB_CONNECTION_STRING="connection string to event hub" <br >
8
+ > EVENTHUB_NAME="even hub name" <br >
9
+ > STORAGE_CONNECTION_STRING="connection string to storage account" <br >
10
+ > STORAGE_CONTAINER_NAME_EVENTHUB="storage container name to log event hub processing information" <br >
11
+ 2 . Run command tsc to compile typescript files to js.
12
+
13
+ ## Available Scripts
14
+ In the project directory, you can run:
15
+
16
+ ### ` npm start `
17
+ Runs the two servers in the development mode http://localhost .
18
+ UDP Server is on port 20500
19
+ Express Api Server is on port 5000
20
+
21
+ ### ` npm test `
22
+ Run jest --coverage command to test all the test files.
Original file line number Diff line number Diff line change 59
59
},
60
60
"include" : [
61
61
" ./src/**/*"
62
+ ], "exclude" : [
63
+ " ./src/**/*.test.ts"
62
64
]
63
65
}
You can’t perform that action at this time.
0 commit comments