0

I'm working on a project for adding an external pre-registration page with Stripe to a Wordpress website. The wordpress is already in place. But the pre-registration page needed the Stripe module, working on back-end...

So I've decided to make a SPA outside this wordpress to have this pre-registrations set up for the next customers.

But now, I'm struggling from days to find how to put this project online, I may definitely need your help for that.

I have this file structure: File structure

It's nothing more than a single page + a single css file and a single server.js file, that I need to start to interact with the Stripe API.

But I also need some modules like Stripe, which is the key function of this project.

I thought about bundling it with webpack (only the back-end, as the front is only composed of 1 html and 1 css file). Then upload it on my web host. Haven't found any working way to do so.

I'd like to try some cloud services like Netlify, but I don't even think that it could work without bundling the server side

Everything works perfectly on localhost, but I'm absolutely unable to make it works in prod with a real domain name. And I'm already late to deliver it.

Do you have an idea on how I could do that? Thanks

0 Answers0