I’m a beginner of Node.js and trying different codes of Node.js. I want to develop a web app in Node.js, and I want its first (welcome page) to be an HTML file. What would example code for it look like?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are a ton of tutorials out there – just google your way to them.
An easy HTTP server example taken from the nodejs.org website:
There is also a great video where Ryan is explaining what Node.js is all about.
Also interesting is the Express.js framework.
But get the fundamentals right first.