Reputation: 24492
So far I've used web hosting such as https://uk.godaddy.com/hosting/web-hosting for my websites, but seem like running angular 2 app has different way for publication.
So, since I found nothing about running Angular 2 app to be available public, and not only in localhost
My questions are -
npm start
in my project folder to run my app, does it works the same way?Thanks in advance!
Upvotes: 1
Views: 1653
Reputation: 1186
I have also hosted my laravel backend and angular front end using openshift. In terms to your application, I recommend you the following two providers.
Amazon Web Service. You can get 1 year free trial, EC2
is really wonderful to host whatever you want. In EC2
, you can configure the environment for angular 2
and laravel
by yourself. You can run any command including npm install
in EC2
Openshift. You can freely create 3 gears to host your application. The environment is very easy to configure. If you want
to deploy angular 2
, laravel
applications, there are specific gears for these frameworks, so openshift
should be the best choice.
The answer to your second question : Yes, they allow to host the APIs !
Upvotes: 1