RedwoodJs deployment on Cloudflare - javascript

I want to deploy my redwoodjs application to cloudflare. I was able to deployed frontend (web) to cloudflare pages and it is working fine. But How I can deploy API to cloudflare? I'm new to redwoodjs. There is no officail documentation for redwoodjs deployment on cloudlflare.
I have no clue where to start.

Related

webRTC nodejs not working after deployment in vercel

I have developed and deployed nodejs webrtc still not working
after deployment
Design not working
Live video communication is also not working
this is the live link click here
this is git repo link click here
The demo signaling server for that (long since deprecated) package is no longer running at that address anymore. Run your own.
Your socket isn't connecting. You need to setup your cors with the name of the frontend website.

Deploying a Sapper app on GoDaddy shared hosting with cPanel

I am new to web development and have never deployed an app before.
I have bought a domain, ssl, and shared hosting through go daddy and am trying to deploy a simple Sapper app.
I have been able to deploy a basic node.js app by following this thread I have Godaddy Shared Web Hosting I need to host node.js website can host site?
I have uploaded my app folder into the user/public_html folder and can successfully build the app by running:
node sapper/build
The terminal replies with "Starting server on port 3000" which doesn't change anything.
My guess is I need to modify my server.js but I am really out of my depth (it's using polka btw).
If someone could please help me deploy the app correctly and how to integrate the ssl certificates it would be much appreciated.
Thanks :)

How to handle backend API request for create-react-app bootstrapped app which is build and ran using "serve-s build" on AWS ec2?

I have create-react-app bootstrapped application which I build and then serve it to the static server using serve-s build. The React app is running on http://locahost:3000.
This app talks to my backend REST API(using java) which is running on http://locahost:8080.
Inside my React application, I have set axios.default.baseURL=http://localhost:8085/api.
Everything is fine on the localhost on my system. The React app talks to http://localhost:8085/api/xyz for CRUD operations and everything works great.
Now I have to deploy the project on AWS EC2 instance. The MySQL and REST API got deployed and rest API there is running on same instance on the port 8085 as http://locahost:8085. I have Apache server configured which sends the hostname(www.myxyzwebsite.com) to the http://locahost:3000 on the server. Everything is fine till now. The home page is visible on the browser.
Now, when the React app tries to communicate to the REST API from the browser, it is sending the request to the http://locahost:8085. Obviously, now the browser looks for some service running on port 8085 on my system and it couldn't find. Ideally, the request should go to the server with my hostname(www.myxyzwebsite.com/api/users/puspen). How to make this REST API call looks like an actual call like www.myxyzwebsite.com/users/pusp?
NOTE: Please note that this is not a server-side-rendered application.

Running strapi project on hosting service provider

I don't understand how to run my Strapi project once it's online on the server. I have a website vpftravel.com and I want to fetch data from the Strapi collections (api) I created but the only way that Strapi runs is when I use the "start" command. I've read many times their deployment documentation but no luck. I also don't understand how I can access the Strapi dashboard once I've uploaded it to the hosting service's server.
Background on my project, it's just a regular JS, PHP and HTML site hosted on Aruba (hosting service). I've been using DatoCMS but I've surpassed the 10GB bandiwdth on their free tier hence why I'm looking into a locally hosted database.
Maybe Strapi is not the right tool for what I wanna do.
I'd appreciate any help.
This photo shows my personal project directory and I highlighted where the Strapi project is located inside the directory.
Strapi is not a "flat file" type of web app, it's adminUI is but the backend needs to run as a service. This is something you would use PM2 for (and I would not recommend using IIS)

Play Framework(2.2.4) deployment issue cannot find Javascript/CSS

I've created an application in Play an have deployed it to a linux server.
The app was developed on win7 and I ran 'dist' and copied the zip file over to the server.
I'm using DataTables (http://datatables.net/examples/styling/stripe.html) and TwitterBootstrap in the application but I can't seen any of this rendering in the app deployed to the server. I see it on my localmachine. Any idea why?

Categories