Skip to content

Commit fbd7dbf

Browse files
authored
Readme
1 parent d34bb2b commit fbd7dbf

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# AMPLiveLoadUsingNodeJS
2+
AMP using NodeJs where the new updates are loaded
3+
You may chech out the instruction here https://www.ampproject.org/docs/reference/components/amp-live-list
4+
5+
Clone instructions:
6+
7+
1. Git clone "url"
8+
2. cd into the directory
9+
3. use <b>npm install</b>
10+
4. then, use <b>npm start</b> to start your localhost
11+
12+
Use intructions:
13+
14+
1. Open http://localhost:3000/ on your browser
15+
2. Using postman or any other posting mechanism, <b>post</b> to the same above url with JSON format:
16+
{
17+
"YoutubeID": ~here put the youtube ID of the Youtube Video~
18+
}
19+
20+
If this is the url:
21+
22+
https://www.youtube.com/watch?v=<b>ttlTus58MNA</b>
23+
24+
<i>The video ID is: ttlTus58MNA</i>
25+
26+
So, the posting JSON would be:
27+
{
28+
"YoutubeID": "ttlTus58MNA"
29+
}
30+
31+
3. Click on the "You have updates!" button that appears after a while on the page opened on your browser.
32+
4. Give this repo a star :p
33+

0 commit comments

Comments
 (0)