File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
- Please dont use it production. And if you want to use it in production remove change certificate keys
2
- .
1
+ # A webrtc demo with nextjs
2
+
3
+ ### Requirements
4
+
5
+ 1 . Node >= v15.x
6
+ 2 . npm >= v7
7
+
8
+ ### Code structure
9
+
10
+ 1 . It is a monorepo managed by npm 7
11
+ 2 . There are two packages backend and frontend
12
+ 3 . Backend is just a small websocket server used for signaling
13
+ 4 . Frontend is actual UI built with nextjs
14
+ 5 . It uses google stun server for populating ice candidates
15
+
16
+ ### How to run
17
+
18
+ 1 . Install all dependencies using ` npm ci `
19
+ 1 . npm run start --prefix packages/frontend
20
+ 1 . npm run start --prefix packages/backend
21
+
22
+ ### How to build
23
+
24
+ 1 . You dont need to build backend
25
+ 2 . You can build frontend package with ` npm run build --prefix packages/frontend ` command
You can’t perform that action at this time.
0 commit comments