How to deploy my application that i made to server ?

75
October 27, 2018, at 1:40 PM

I have created an application using mySQL, Express.js, React, Node.js

My question is, which servers would allow me to deploy this application for free? I'm assuming TOMCAT wouldn't allow me to create it because I have a node.js / express.js as back-end.

Answer 1

Outside of Heroku, here are a few free and easy deployment options:

Serverless:

  1. AWS Lambda: https://amzn.to/2JgBFlL
  2. Azure Web Services: https://azure.microsoft.com/en-us/free/cloud-services/search/?&OCID=AID719825_SEM_UHdSDoOS&lnkd=Google_Azure_Brand&gclid=EAIaIQobChMIh7rFgt2k3gIVGMNkCh0wOwnqEAAYASAAEgKkP_D_BwE

Of course in the future if you have a super lightweight 'app' you're trying to deploy, Github pages is a good option.

Serverless is a really good option though because deployment becomes as simple as pointing the serverless service to a repo and committing to the repo. The rest of the deployment process is handled by in these cases, either AWS or Azure. And for AWS and Azure, you can easily link in a lightweight, free SQL DB.

The learning curve is no less daunting than learning to deploy on Heroku, but it is much much simpler once it's set up. Plus - you get the added benefit of scalability for free because AWS and Azure takes care of it for you!

READ ALSO
group by date_format for each day

group by date_format for each day

My I'm having problems with a queryHere is what I have

114
mysql query - how to merge tables in another table

mysql query - how to merge tables in another table

I have a problem joining tables in the result columni have a working query which combine different tables using UNION but when i'm extending another table i got an error saying 'The used SELECT statements have a different number of columns'

76
Does InnoDB lock the whole table for a delete which uses part of a composed key?

Does InnoDB lock the whole table for a delete which uses part of a composed key?

I have a MySQL table (call it 'my_table') with a composed primary key with 4 columns (call them 'a', 'b', 'c' and 'd')

67