Phpmyadmin Sql Node.js // Automatic random messages and a fake User betting - mysql

I have an website about Cs:go gambling site. (Www.csgofatwin.com)
I want to put a fake person sending random messages in the chat already online in the site.
And i want to do a fake person betting on the site, as you can see in the link, there is 3 option to bet.
I have been looking for everywhere and I dont find it how to do it.
The site works with Node.js, Phpmyadmin with mySql.
If anyone could help me or just send a good tutorial how to do it, I would be very grateful.
Thank you.

Related

Where to begin for filtering user's inputs to give result

I'm creating a website to be able to find the best result after a user has added their input. I'm newer to programming with only a few months in HTML/CSS and very light Javascript. Due to this, I am unable to properly word my question due to the lack of education so far, thus why I'm seeking advice here!
Best way to describe my idea is by an example:
User is looking for a dish recommendation to cook.
User inputs data (what they are craving, allergies, their cooking experience level, etc..)
Database filters through user's inputs to find the best result, giving them the dish they should cook.
Result is displayed on page for user to see.
If this is a hard to follow idea, let me know what the issue is and I will try to elaborate. I'm just unsure as to where to begin with this, what code-language to use, and how to go about to make my idea a reality.
Thank you in advance for any help/criticism sent my way!
You can go ahead with following steps:
Create mock up/ have an idea of how the screen will look.
Try to create that lay out in html css, css frameworks such as bootstrap can help you to quickly build that user interface.
Create some dummy data JSON and pull the data form that and make app working with Dummy data.
As you know JavaScript you can write backend code in node.js, identify the db you want to work on.
create a table structure / Schema for you data, as per database of your choice, you can use any freeware here, like mongodb, mysql etc.
Once this is done try to connect db with backend code of node.js
Code service/API in node to send data to front end view to display.

How to set up a paywall with Firebase?

I am wanting to restrict access to a portion of my site. When a user that is logged in pays they get access to that area of my site.
I am looking at the easiest way to accomplish this. Saying the word "Paywall" before I know whats involved sounds so easy, but it has become troublesome to figure out. I am not the worlds best coder but can manage.
I have tried to implement Stripe & Firebase with Zapier, but couldn't manage to link logged in users. Also, Zapier only runs every 5 minutes as well and users would have to wait that time to access.
I have tried to implement Stripe & Firebase without Zapier. There isn't much assistance I could find online that didn't involve Angular. I don't really want to use angular.
To summarize: I want the logged in user to click purchase and they pay to get access to a certain area of my website. I want the payment to process and for this to be logged in the Cloud Firestore database.

Web app - How do I connect two different pages with firebase?

I am in the process of creating a quiz web app for university. I've decided to use firebase as I've heard good things about it. I've managed to get hosting working, however I'm having trouble with a few other things.
First of all, I'm using HTML, CSS, JS and a little bit of JQUERY.
The idea of the quiz is to have a host view, which would be a teacher putting it on a projector and to then have student views which would be the student connecting on their phones.
The host view allows for the teacher to select the question on their computer, and then that question gets pushed towards the students phones. Once the student answers the question a boolean gets pushed back to the host view to tell them if they got it right or wrong.
At the moment I've only got the student view being hosted and I can't figure out the best way of doing this through firebase. My inital thought was to get a database set up between them both. However, I'm unsure on how to go about that. Would it be better if they were both hosted under one domain and once on that domain the user gets the option of selecting HOST/VIEW?
I'd appreciate any help given web development isn't my strong suit.
Thanks.

How to easily get full user profile in LinkedIn?

Is there an simple way to query all fields in a JSON response, from a linkedin profile without requesting fields individually, or is there another, consumer side, approach that would render all data in a delimited way?
The closest question had broken links.
Im currently dealing with the same issue. In my app I need to access whole profile of a user nut if you dont have partnership with LinkedIn this is not possible. The closest I get so far is asking user to export his profile as an archive (Im OK with the fast option there) and then in my app Im using JSON Resume to convert this archive to JSON.
But if someone has better idea dont be shy to share it ;)
Hope that help at least a little

mysql how to remove a record

I know NOTHING about mysql so please bear with me.
I use something called livesite for my website app and it creates these things called forms when anyone can post on my site. I didn't know about he forms when I setup the site and now I have 75000 spam forms submitted. I still don't know how people (or robots more likely) are doing it, must be a back door somewhere.
Livesite only allows you to delete one form entry at a time which will obviously not work for me.
I know the back end is mysql but my ISP will not help because its not their problem.
Can someone please give me the absolute idiots guide to deleting a bunch of records in mysql. All the records look like this on the livesite management page: