Question about Chat-Game Application Spring WebSocket and React - reactjs

First of all, i'm not good at english, so this article may not be smooth.. Please understand.
I planned a chat-quiz game web application project using spring and react.
In my opinion, it is not difficult to implement a simple chat service using Spring WebSocket and React.
However, i can't think of a way to run the quiz in real-time chat service..
For example, assume that i have many quiz sets and one of this is "1+1=?"
First, the game stats through voting while chatting betwwen users.
Afterwards, a problem is given and users deduce the correct answer to the problem. (In this case, the question is "1+1=?" and the correct answer is 2)
When many chats come up at the same time as users infer the correct answer, If a chat corresponding to the correct answer comes up among many chats, I'm trying to write code that treats that problem as the correct answer. And then, the next question is asked.
In this application, I'm wondering how to determine if chat is an answer or not..

Related

Where to start for workout project

I have learned the basics of react and redux and now I want to make a workout planner with a range of exercise lists.
However, I didn't find a good workout API that has a lot of exercises. So I was wondering how I could make my own API which would consists of the picture of the exercise,which muscle it works and a short description on how to execute it.
Is a MERN stack suitable? Where can I store the pictures and information?
I have nearly no experience on Full Stack development, only a few tutorials so I'm sorry if this is a stupid question
There is no definite answer to your question.
This could be a simple Reactjs app or a more complex MERN app, depending on how you want to go about it.
The simple way would be to just create a JSON file that you can read and write from using React or even plain Javascript.
"id": "1",
"exercise": "Push Ups",
"imageLink": "https://image" etc...
The full stack way you would mainly be working on RESTful CRUD api using Node.js to create, edit, update and delete your exercises.
If you're still learning the I would suggest going full stack just for educational purposes. Maybe even add your own authentication and user levels (Admin, manager, trainer, student).

How to integrate module?

I want to integrate the function I created I am trying to create a website that judges cheating.
Currently, it has implemented several functions, such as searching for cheating items or recognizing identity.
The only thing left now is to build a website, receive a video from the website in real time, apply the function I created to the video, and notify the user's website in case of cheating through the result.
I have to apply various functions to the video or photo received from the web page.
Also, these functions are composed of various development languages(c, python) and some were developed under Windows and others under Linux.
I would like to recommend how to integrate each function or search terms related to it and some tips!!
It's my first time integrating, so I don't know anything.
And I'm not good at English, so please explain it easily...

A question about React Native Licence and any legal issues

We are currently in the planning phases of a new Social Media app. We want to build it in React Native, due to working with javascript, etc.
Now I couldn't get a complete answer when looking online but I want to ask you, if there would be any legal issues if would ever go public and get any success, since we would be a direct competitor with Facebook.
If you have any advice about this I would be were happy to hear it.
https://github.com/facebook/react-native/blob/master/LICENSE, This is on facebooks' own account.
Also there are resources like this on the web https://www.quora.com/What-are-the-conditions-of-the-React-Native-license

How can you build React on top of Drupal?

I've never used Drupal, but have been looking up tutorials online. My client would really like the adaptability of React and to have more flexibility in terms of design. I could make my own database and React app, but I have not studied security (I'm a team of one, so no one for security on my end, either). Security and access to a content management system was the main reason we decided to go with Drupal. However, I would still like to be able to code in React/something I'm familiar with to produce a site I am proud to say I made.
I've been Googling and Youtubing tutorials and help, but not having anyone to ask specific questions is making this difficult.
If anyone knows of a relatively easy way to build a React app on Drupal, I would really appreciate the advice. Or if there is a better way I should go about beginning a project as I've briefly mentioned above, I would also be open to that. Thank you in advance and sorry for the long message!
What you are asking is quite broad in concept and not easy to answer in just one answer post. Try to look for Headless / Decoupled Drupal.
https://www.acquia.com/drupal/decoupled-drupal
What this essentially means is that all the services and the content management are handled by Drupal while the core user experience or the way the site is displayed in a browser is controlled via a JavaScript framework such as React.js or backbone.js. This is achieved via Drupal’s RESTful API service.
Hope this helps.

Understanding Ionic [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am very new to ionic and still trying to learn. Few things I can't get a direct answers on this, hope for some help me. I went through few tutorials are articles, have an basic idea of ionic.
I am trying to develop a "group app". the group has 50 members.
I wish to publish event listings in the group app. Updating will be done
every week. So i can't exactly recompile this into apk whenever I do updating.
Also, I noticed ionic has a template that has login page. Where exactly does the username database stored?
If i need an admin section within ionic app, will it be possible? Whats the recommended method to do this?
If possible, I want this to do without any cost at all. I have a normal wordpress website that uses mysql database.
please help. thank you.
I am very new to ionic and still trying to learn. Few things I can't get a direct answers on this, hope for some help me. I went through few tutorials are articles, have an basic idea of ionic.
it is apparent from your questions, you've been reading recipe and not tutorials. They may have been labeled tutorials, but they were not. You are asking way too many questions, and the topics are too broad (wide).
To answer your question, in order
I am trying to develop a "group app". the group has 50 members. I wish to publish event listings in the group app. Updating will be done every week. So i can't exactly recompile this into apk whenever I do updating.
Your conclusion is based on faulty logic, and not understanding how Cordova works.
Also, I noticed ionic has a template that has login page. Where exactly does the username database stored?
Username and password storage is your issue, not Cordova's.
If i need an admin section within ionic app, will it be possible?
Yes.
Whats the recommended method to do this?
That's up to you. But understand you will be building it your self, likely from scratch.
If possible, I want this to do without any cost at all. I have a normal wordpress website that uses mysql database.
It is possible, but you will likely want to use a REST API to talk to the mobile App.
As you can see, my response appear to be vague, but that is because your questions are too broad.
I recommend reading this FAQ
Top Mistakes by Developers new to Cordova/Phonegap
If you have any further questions, I recommend following up on Google Groups Best of Luck.
I am trying to develop a "group app". the group has 50 members. I wish
to publish event listings in the group app. Updating will be done
every week. So i can't exactly recompile this into apk whenever I do
updating.
you can do this using ajax requests to server to get new events
and this is pretty easy by ionic using angular JS but it just need some time to try and read on how to make a restful ionic application
this will help you get the events from the database when the application opened
Also, I noticed ionic has a template that has login page. Where
exactly does the username database stored?
online database, just ready my answer to your first question
If i need an admin section within ionic app, will it be possible?
Whats the recommended method to do this?
yes it is possible but it is not recommended to do it in your public app
better to make web app for that
If possible, I want this to do without any cost at all. I have a
normal wordpress website that uses mysql database.
it will cost you nothing and you can use the MySQL database of your website
Good luck, you can make it, it just need some time and some searches

Resources