You need to have NodeJS and npm installed in your system (node version 4.x or higher).
Let's start by creating a directory. The command is the one given in the following:
mkdir MyFirstRippleApp && cd MyFirstRippleApp
Now, let's create package.json in our newly created directory as shown in the following, which will install the dependencies we need to work with Ripple's APIs:
{
"name": "my_ripple_experiment",
"version": "0.0.1",
"license": "MIT",
"private": true,
"//": "Change the license to something appropriate. You may want to use 'UNLICENSED' if you are just starting out.",
"dependencies": {
"ripple-lib": "*",
"babel-cli": "^6.0.0",
"babel-preset-es2015": "*"
},
"babel": {
"presets": ["es2015"]
},
"devDependencies": {
"eslint": "*"
}
}
Let's run the following command to install the required packages:
npm install
Great, we have everything set up, so let's make our first application.