Skip to Content
1

Node Js fro beginners

Mar 28, 2017 at 02:07 AM

221

avatar image
Former Member

Hi....I am beginner to SAP HANA... I would like to start with "Hello world" program in node js....Can someone guide me how to start with? Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Christopher Solomon
Mar 28, 2017 at 02:22 AM
1

There are literally TONS of sites! Just Google for "node.js tutorials"....some of the good ones are from Free Code Camp, Code Academy, Lynda (if you have sub), and others like those. I have done several of them. I advise you do the same so you learn other ways and techniques.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Chris for the reply... sorry I should have put in clear way...I can write a sample code in node js... I created account in SAP WEB IDE and created workspace..I am not sure how to create a sample node js in IDE...I see the options in attachment...looking for basic setting on what required to create node js sample app. could you please share the linkfor reference if you have handy.untitled.png

untitled.png (48.0 kB)
0

Looks for info from Thomas Jung....he did some TechEd classes on Node.js and HANA....probably has posted basic set up info somewhere around there too.

0
Jamie Cawley
Mar 29, 2017 at 08:18 PM
1

Try searching on google for "hana academy node js"

Regards,

Jamie

SAP - Technology RIG

Show 9 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for the response Jamie.. ya I some sample codes for node js.All the examples comes with first step as

From the project context menu, choose New--> Node.js Module , and follow the wizard steps to enter the module properties.

.but if you see my attached screenshot it doesnt have option called Create Node js.27669-untitled.png

Not sure if there is any configuration has to be done or what is missing..To be precise.. I am looking for details that has basic setup to create a node js program ..

27669-untitled.png (48.0 kB)
0

It looks like you are using the Cloud Platform Web IDE. The Web IDE shown in the videos is an on premise version for hana dev.

Regards,

Jamie

SAP - Technology RIG

0
Former Member

Hi...It means cloud platform WEB IDE doesnt support node js?

Is there any link that can help me with, so that I can follow to create appropriate account for testing node js in SAP HANA?

0

You would need an on premise version of hana installed. For using node js on the cloud you could use cloud foundry

https://blogs.sap.com/2016/08/05/deploy-a-react-redux-nodejs-application-on-sap-hcp-with-cloud-foundry/

If you intent is really just learning node js I would recommend just installing it and running it locally.

Regards,

Jamie

SAP - Technology RIG

2
Former Member

Thanks Jamie ..This helps to start with.. I somehow assumed it was in cloud on demand :(

I started with the initial setup, but then got stuck with the attached error message.sap-hcp.png

Do you have any idea why its occurring...If you have any thoughts it would be helpful Thanks

sap-hcp.png (28.2 kB)
0

Seems to be an issue. See

https://experts.hybris.com/questions/73570/error-when-navigating-to-hcp-from-builder.html

Regards,

Jamie

SAP - Technology RIG

0
Former Member

ya I saw this ppl posting the issue... ok if its global issues, then shall wait to see if anyone post answer saying its resolved.

Thanks for all your time ! Much Appreciated!

0
Former Member

Hi Jammie, Since we have the issue with yaas service.. Is there a way i can write HANA - node js program in eclipse IDE. Please let me know you thoughts... would be helpful if there is any reference doc...

0

To write node js apps you only need to install node js and then you can use any text editor, I like sublime. There's tons of guides, try searching for "node js getting started"

Jamie

0