Using a "contact form" across various websites | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Using a "contact form" across various websites

I have designed a "contact form" using HTML, CSS, JavaScript, jQuery, firebase. I can use it on my website via linking various "apiKey, projected, etc." referring to firebase. Is it possible to make my "contact form" like an API and use it on many different projects and then somehow send the data collected from each project to a respected allocated email id via firebase or even just store the data systematically like netlify etc? I am a beginner in web development and thus it may sound like a silly question to most. But it would be great if someone can guide me.

1st Feb 2020, 6:30 PM
harshit
harshit - avatar
3 Answers
+ 2
//Actually it's hard to understand your question, Can you explain in brief
1st Feb 2020, 7:03 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
//Do you really want to use 1 db for all website , it's a bad practice, Just copy paste if you want to use same db
2nd Feb 2020, 2:52 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
Sudarshan Rai 👑 have you used firebase realtime database ? I have used it to store data submitted by user through "contact form" on my website. I do not want to repeat the whole procedure for every website I make. Is there a way to extend this to be other websites also via some links etc.
1st Feb 2020, 8:16 PM
harshit
harshit - avatar