AngularJS deployment to Netlify - angularjs

I have a complete project of angularJS app with backend in nodeJS. I want to deploy it to netlify with complete frontend and backend.
My app starts in commandline with "npm start" and in browser "localhost:8081".
Can I deploy it to netlify. Is it possible?
If yes then please help me regarding this issue.

You can't expose your NodeJS API through Netlify, but you can deploy your AngularJS front-end.
Follow this link to do that Hosting Angular Apps on Netlify

Related

Deploying a Reactjs application (CRA) on heroku throws an error

Following is the error I am getting. The front-end of the application is built using CRA. And the backend is built with Laravel - Laravel Sanctum and Laravel Fortify. I am using craco for building the app.
Error: React Refresh runtime should not be included in the production bundle.
I found the issue. Heroku was building the react app using nodejs buildpack. In order to deploy a react project scaffolded using create-react-app a buildpack other than "heroku/nodejs" needs to be used. In my case I used this buildpack -> https://github.com/mars/create-react-app-buildpack.git. And finally using this I got the app to working.
Thank you #mando for you help.

Deploy a React app to Netlify + AWS Amplify

So I have this normal React app that is deployed in Netlify.
Then I tried using AWS Amplify for my authentication. All went well in my local.
The problem is, I think I would not be able to deploy it properly to Netlify anymore because of the aws-exports.js that is dynamically generated. Or can I? Is it still possible to deploy a React + Amplify app to Netlify? Or I have no choice but to deploy it to AWS?
UPDATE: I was able to deploy it successfully on Netlify by commenting out the aws-exports.js in the .gitignore. The problem now is how could I have different version of the file for different environments (e.g. Dev, Stage, Prod).

Deploying Next Js application to Firebase Hosting

I selected '.next' folder as the public folder and gave firebase deploy command. The deployment was completed successfully however my website is not being shown. What could be the reason? How should I deploy Next Js application to Firebase Hosting?
As far as i know Firebase hosting is for static sites. If you use SSR its not possible (or very hard) to deploy Nextjs app.
If you only use SSG from next and get build with command "next export" that is should be easy to deploy this build folder which should be called 'out'.
more info here https://nextjs.org/docs/advanced-features/static-html-export

How to Deploy React app on Regular server without build command

I want to Deploy my react site to the regular server without build command
without Netlify or DigitalOcean, Heroku, GitHub Pages, aws
Is there a way to run modular bundlers like Webpack on Host?
actually what Netlify or DigitalOcean, Heroku, GitHub Pages, aws doing for show webpage without npm run build command?

React app using webpack to be deployed on JBOSS

Any idea how to deploy a React app or angular app to JBOSS webserver ?
I was working on a POC project using React and webpack-dev-server and now I have a bundle.js. Is it possible to deploy the bundle.js under a JBOSS directory (webapp.war)
Or will I need somehow run my react application on a separate server and port using npm/node/express and then somehow redirect JBOSS requests to this url ?
Please help.

Resources