iPhoneJavaDev
iPhoneJavaDev

Reputation: 825

How to build and deploy Angular2 with MySQL in godaddy.com

I currently have a website hosted in godaddy.com that was built on PHP and using MySQL. I am thinking of converting it to Angular2. Would you suggest the steps and technologies that I need to use to build and deploy Angular2 to godaddy and how it will communicate to MySQL database?

Upvotes: 1

Views: 497

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

This is a really broad question, but in sweeping steps.

  1. Use your existing MySQL Database
  2. Write REST Services using PHP to access MySQL Database
  3. Write Angular Code to access those services and create your views
  4. Compile your Angular TypeScript code to JavaScript. One such way is to use the Angular-CLI project, to create a build.
  5. Upload your final build and PHP code to your GoDaddy services.

Step 2 and 3 can be really big steps depending upon the size of your application.

Upvotes: 2

Related Questions