Search code examples
htmlwebfrontendweb-deployment

how do i store and retrieve form data from a wesbite


this is probably something i could have googled; however i thought id start getting more active on chat forums so basically...

I'm almost done with making a family members business website, on the website is an enquiry form; i want to know how i go making that form store the data its given and how i would then retrieve that data?

still doing final touches to the design then im going to start learning the process of deploying it live which is why im posting here to see how to go about it.


Solution

  • It is very vast question, You will need an API to pass the data from Forms to API Server and a Database, that will store the data. It is also called client-server architecture.

    Web Forms -> API Server -> Database

    You can use either node express, java, python or any language to create API.

    You can install the database on the server where you will run the API or you can use any from the cloud like AWS or Heroku, that way you will skip some setups and it will be ready to be used directly in the API.