Developing a front-end from a Google Cloud Platform - google-cloud-platform

I want to develop a front-end application for this tutorial: https://www.cloudskillsboost.google/focuses/22020?parent=catalog
Just looking for a simple solution for a user to upload a picture and then the back-end does its processing, thereafter returns the results from the back-end.
Any thoughts or ideas would be much appreciated.

Related

How to embed power bi report in java web application?

I have a log analysis tool as a Java based web application with html/jsp front end. Java backend receives real-time log data from few different agents/datasources and does ML/analysis and then stores insights on a file system, accessible only to Java backend. Now my users login to the system using a browser and access Java backend and insights using rest endpoints in the form of HTML/jsp reports/dashboards.
All sounds good but my users are complaining that UI is not production grade. So I am searching for different solutions to build a nicer UI experience for my users and I am looking into Power BI embedded solution.
How to integrate power bi embedded to serve insights that continuously change behind the scenes? how does it work in this use case knowing that my insights are only accessible to my Java backend and can only be served using Rest End points?
Also are there any better alternative solutions?

How create application backend in django and create a api so that other developers can use that as well

I just started learning Django and wanted to make an application with API (probably REST) endpoints so that other developers can use it as well (like GitHub API), and I could connect it to my react app and android app. I want my backend to be on a different server and do not want to build my react app integrated with Django backend using the REST Framework.
Can anyone just give me the general idea of what I need to do?
P.S. Sorry in advance if my question sounds silly, I am still new to backend.
Creating a Django REST API should be your first step. This is pretty simple if you already have a Django app running, and will allow your React app or Android app to connect and access data.
Authentication is a step beyond. You may want to look into implementing authentication on the server you will be hosting your back end on. You can also read through this article for some guidance on implementing auth on the DRF side.
Best of luck!
First off all you can start from this.
https://www.django-rest-framework.org/tutorial/quickstart/

How is the configuration of a cross-platform project in GCP?

I need to develop a multiplatform application (Android, IOS, WEB and maybe Desktop) with backend in django rest framework using google cloud plataform.
What flow is recommended?
Which of the products and solutions offered should I use? Is it possible to implement a web site in GCP or should I deploy it to a normal site host and connect it to the backend?
Sorry for the levels of questions. I am a beginner in the cloud and I am really lost in the way these technologies are used.

Firebase-powered app with web service code

I am planning to use Firebase database and want to know how it fits in to the following scenario.
lets say I have a browser app, android app / iOS which uses Web Services to get / insert data, web services talks to the Data Base and returns data to the client.
This way I have to write code once in my web services and all the clients use that to retrieve and insert data to the database.
If I want to use Firebase, will I be following the same approach of having webservices between the client's and the Firebase DB.
I have done some sample Firebase examples where it it gets data from database directly without web services and in this approach we have to write our logic on each client (Web browser/ android app/ iOs app).
I have looked into this article
https://firebase.googleblog.com/2013/03/where-does-firebase-fit-in-your-app.html?showComment=1480073224245#c464815735109872173
The Pattern 2 has the server concept but that does not look appropriate in my scenario.
Can I have my web service and Firebase database and get data Synchronization capabilities.
Correct me if I am wrong and please suggest the approach I need to take.
Thank you for your valuable suggestions in advance.
Thanks & regards,
Rao Burugula
The article you link gives you the most common options for integrating Firebase into your app. Pattern 2 is the easiest way to use the Firebase Database and run your own server-side code:
In this model the Firebase Database sits between the app on the user's device and your back-end code. By using this model, you can still get all the benefits of the realtime synchronization, security rules and scalability, but also have back-end code that runs in a trusted environment.
Of course you can also go for a more traditional three-tier model, where your app server sites between the devices and the database. But in that case the Firebase database won't have direct interaction with your app anymore, so you'll have to take care of the realtime aspects of the synchronization (if you want those) in your own code.
I also recommend reading the Google Cloud documentation on using the Firebase Database and App Engine's Flexible Environments. The architecture described there is the same, but a bit more up-to-date:

Web Service to connect to an API and get the response back from the API

This is a general Programming question
I'm new to Java Web services programming using Apache Axis and JAX-RPC.
We need to build 2 components,a App engine (Shopping cart,
Payment Gateway integration etc..) and a UI Control Panel
over an existing API.
The API understands only XML.How we must communicate with the API?
link text
We have been asked to write a Web Service to establish the communication.
Please provide the steps and a Code example/snippet on
how to connect to an existing API through a Webservice and
get the response back from the API to the calling Webservice.
John,I hope I have been able to explain my query.If you have ideas on how to communicate with the API to get the desired result to the user,Please let us know.
We have just started our careers in technology a year back post our
graduation and this project is our very first Java EE project.
You can either develop SOAP, RPC or REST style webservices. Without knowing the problem domain, it is difficult to recommend which one is suitable for you.
If you are just talking about a registration service, the REST style might be the easiest and appropriate one for you. If you don't know what REST, this article might help you.
You can learn some good and bad practices from here. Chooing the right web framework will make your job a lot easier while developing RESTful services. So you might want to look at something like Grails.
Looks like you have already heard of Apache axis. There are nice examples in there on how to build and consume SOAP services.
So decide what exactly you are trying to build, choose the right protocol, choose the right tool and then you will learn as you go.