1

I am very new to Angular JS. I need a local http web server to run my application made in Angular JS.

Is it necessary to use Node JS or can i use any other local http web server i.e. Xammplite, Wampp etc.

Please let me know.

1
  • 1
    node js is not necessary, you can use any backend to work with Commented Aug 19, 2014 at 17:42

3 Answers 3

1

AngularJS is a frontend framework, so it is independent of the implementation of the server. You can use Node.JS or any local http web server that you are comfortable with to host your site.

Sign up to request clarification or add additional context in comments.

2 Comments

Can i use Xampplite (apachefriends.org/download.html) in order to host/deploy my application on my local windows machine ?
Yeah, you can definitely use it
1

You can use Apache Tomcat Server and can put your project in webapps folder of Tomcat.

Then after start the Tomcat server your application will be deployed on http server.

It is necessary becuase suppose we are making call to some javascript file through the http method like

   <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.js"></script> 

then you need http server.

You can achieve the same through Apache Tomcat.

Comments

0

node.js is not necessary, you can use any backend server to do CRUD operations. you will have to use $http to communicate with you backend server.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.