It is possible to deploy VueJS app with laravel backend on shared hosting without ssh ? If yes, how to do that ?
Related
I just wanted to know, if someone could suggest me some sites, where i can deploy my springboot backend connected to a mysql database. My frontend is build with nextjs/react.
You can try Render or Heroku if you don't want to operate a whole Kubernetes cluster.
I have a dockerized Laravel application that consists of MySQL database and Redis.
I want to deploy and test it on the internet.
is there any way to have an environment such as Heroku to deploy it?
I have deployed the Node, Express backend API part of my MERN app to Heroku and my MongoDB is running on MongoDB Atlas.
The React frontend when run on localhost connects to the backend on Heroku fine and can retrieve/edit data from MongoDB Atlas.
But when I tried to deploy the same React frontend app on Netlify, the React app works but it can't retrieve data from the database.
I think it is probably because of the IP restrictions on Atlas. You have to allow any IP to connect to your database.
If I want to have a react app hosted on my owned domain what is my best option ?
1) Godaddy webhosting
2) heroku
3) netlify
I not sure what are the differences, what shoud I choose, I want CI/CD to be setup and, each push to my repo on github should trigger a deployment
Heroku and Netlify have good CI/CD support. With Netlify you are more limited since they host static web pages. You cannot do SSR (server side rendering) with Netlify.
It depends entirely on your project. If you have a project that requires SSR go for Heroku. If you have a project that is a SPA go for Netlify. When combined with GitHub it can be especially nice.
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 -
What providers do allow such apps to be hosted on them? now I'm using npm start in my project folder to run my app, does it works the same way?
Since my backend is Laravel and supposed to be in the same domain as the Angular2 frontend, These providers allow to host the API's too?
Thanks in advance!
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 !