Configure local server for angularjs

0

As a developer I have always uploaded my projects to a cloud server, in which you just follow the steps they give you to upload it, these are already adequate. But now I have to upload it to a local server located in the company, the project is an API Rest in java and the frontend made with Angularjs, MySQL database, for the backend I understand that it is only installing the server either glassfish, wildfly or others, there the bd script is uploaded, the connection pool is created and the .war that is generated and ready is uploaded, all this is done by the admin console that opens with the browser; but to angular that I must install in my server so that it supports it and that can consume the services of the backend ?, and that does not generate conflict with the rest ... thanks in advance.

    
asked by BastianBurst 23.02.2017 в 16:31
source

1 answer

1

Install Wampserver Here

Then copy your project frontend (Angular) in the following folder that created the installation C:\wamp64\www , and with this it is enough so that you can consume the Rest services, of course having already lifted your server from applications for example glassfish and your .war already mounted on the server.

And to your application you would enter in the following way http://localhost:8081/nombreProyectoCarpeta the number of the port depends on which one you assign to the Wampserver to raise it.

    
answered by 23.02.2017 / 21:59
source