ABP Backend and ASPNETZERO frontend - Angular - abp

I am very new to the ABP. We were using ASPNETZERO and now we got ABP.IO commercial/
We are in the process of migrating our application from ASPNETZERO to ABP.IO.
We would like to do step by step.
Backend API migrate to ABP.IO framework
Update Angular ASPNETZERO frontend with new ABP.IO API end points
Migrate frontend from ASPNETZERO to Lepton Theme of ABP.IO
Is Step 2 possible? Using ASPNETZERO frontend with ABO.IO backend? Anyone encountered this scenario?
Appreciate any pointers to documentation.

Related

How can we achieve Ruby on Rails MVC application with React Applicaiton on Same server (I will use API's from MVC Application only)?

I have Ruby on Rails MVC Application deployed into AWS server.
Using Ngnix and Passenger
But now I want to deploy react application deploy in same server with same domain using MVC application API's
How to configure Ngnix for react application to run both MVC and React Application with same backend
Here react is in different project folder

How to host a Spring Boot Application (backend) and React Application (frontend) on AWS?

I am a beginner in AWS and want to host a website whose backend is on Spring on frontend on React. I think we have to do it by using EC2 instances, my senior mentioned it. Any help at all is appreciated.
Right now in my react application, the data submitted by the user is being sent to localhost:8080 where my spring boot application is hosted. I think I'll have to host these 2 applications separately and follow the same procedure.
Take a look at the workshop for Web application Development with AWS Elastic Beanstalk. You will learn how to deploy a React frontend and a Node.js backend. Since you want to use Spring Boot for your backend, adapt that part of the workshop by applying what you learn in this step-by-step guide Deploying a Spring Boot Application on AWS Using AWS Elastic Beanstalk.
Here is an AWS tutorial that walks you through this use case. The Front end is a React App that sends requests to a Spring Rest Backend that returns JSON.
https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/Creating_Spring_RDS_%20Rest
The React app displays the data. I have successfully deployed the Spring backend on Elastic Beanstalk -- as shown here:
To learn how to deploy a Spring App on Elastic Beanstalk, see the section titled Deploy the application to Elastic Beanstalk in this tutorial.
https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_first_project
All of the information you need to get this use case working is in these 2 articles.

React + Laravel, should I do it in 1 or 2 seperate repositories?

After learning Laravel basics and React.js basics I want to build an app that use Laravel for backend and React.js for frontend. Would it be better to include the React.js in Laravel app with artisan ui react or do it in 2 seperate repositories, 1 for Laravel to build APIs and include it in an addon domain e.g www.api.mywebsite.com which would act as a backend website and redirect to the React.js app if accessed by public and 1 for React.js app that would be used for public, on the main domain e.g www.mywebsite.com which would just fetch data over www.api.mywebsite.com. So which way is better as I'm developing both frontend and backend, and I also plan on learning and developing React Native mobile apps that would use the same Laravel backend?
Both alternatives work just fine, but it's easier to set up an api.mywebsite.com subdomain. Since you are going to also develop mobile apps that will connect to the API, that strengthens the argument of separating the API from the front-end app.

Deploy React JS bundle with Yii code base

I am looking for a solution to deploy me ReactJS application bundle with Yii(PHP) code base, I am already having an Yii application which is having frontend and backend both, but some of the page I have migrated into ReactJS application, I want to run both application on same environment,
I need help to configure the application and manage the routing also in the same fashion like old application will reload the page and ReactJS based code will run as client side.
Server: AWS
Technology: ReactJS + Yii (PHP)
Any suggestion !!!

integration between reactjs and spring mvc

I am trying to upgrade an existing application which has Spring MVC with JSP frontend to ReactJs. I am not sure how to integrate Reactjs frontend with Spring mvc backend. Right now i compile the react app and put it inside the backend app
Then spring mvc maps to the react app. The integration between is with spring rest.
What is the best practice? I think that it will be much easier to have 2 separate application React frontend and spring backend. There are 2 big issues with this solution.
How should the react app authenticate to backend? Backend use Spring security. I know that i can use rest tokens, but i am not sure how.
If i use react-router then i need to map all react-routes to spring mvc.
I dont find any good example online. Any help would be appropriated.

Resources