#Running the application is damn easy.
- Download all the app files as zip.
- Now open the command prompt go into the project directory and put two simple commands:-
- npm install (To install all the dependencies from package.json)
- node . (it will search the package.json for the mail file to run).
-
Also dont forget to open the Mongodb in a separate command line.(Its Important)
-
Go to your browser type localhost:3000 with http.
-
This will open your main app.
-
However if you want to us this blog and create your own api out of it type /explorer just after the port number.localhost:3000/explorer.
-
Thanks to loopback framework for making the task of making this app a piece of cake for me.(One day to make the complete app.)
-
For Mocha testing go to the command prompt in current working directory and type Mocha and sit back and see the do its work.It will test all your rest apis.