Skip to content

Commit

Permalink
docs: add index for 100 level learning path (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmohona authored Dec 16, 2023
1 parent d161977 commit c5fc0a5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
31 changes: 31 additions & 0 deletions 100-level-AsyncAPI-Intro/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"title": "100 Level AsyncAPI Intro",
"description": "Introduction of AsyncAPI - 100 Level",
"details": {
"intro": {
"text": "intro.md",
"foreground": "setup_node.sh"
},
"steps": [
{
"title": "Event-Driven Architectures",
"text": "step1.md"
},
{
"title": "AsyncAPI Specification",
"text": "step2.md"
},
{
"title": "Creating and Validating AsyncAPI Code and Documents",
"text": "step3.md"
}
],
"finish": {
"text": "finish.md"
}
},
"backend": {
"imageid": "ubuntu"
}
}

12 changes: 12 additions & 0 deletions 100-level-AsyncAPI-Intro/setup_node.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Install necessary prerequisites
echo "We are going to install Nodejs and NPM first."
curl --silent -sL https://deb.nodesource.com/setup_current.x -o /tmp/nodesource_setup.sh
bash /tmp/nodesource_setup.sh
apt-get install -y -q nodejs

# Install AsyncAPI CLI
echo "Installing AsyncAPI CLI..."
npm install -g @asyncapi/[email protected]
echo "All set!!"

0 comments on commit c5fc0a5

Please sign in to comment.