How to use SQL in it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
3 Answers
+ 3
As Gordon mentioned, you need to setup a server. I would recommend that you use Node.js. For creating a MySQL database, you can use a module called "mysql". If I'm not mistaken, do you want to use an SQL database to implement a leaderboard?
9th Sep 2019, 12:45 AM
Edwin Pratt
Edwin Pratt - avatar
+ 2
To use database, you need to have the server side part of your projects. If you want to use SQL, you can use Node.js with modules sql.js An easier way is to use Google Firebase. Anyway, I don't see why you want to use a database in a table tennis game.
9th Sep 2019, 12:33 AM
Gordon
Gordon - avatar
+ 2
Yes for the leaderboard, i want to use sql
9th Sep 2019, 4:56 AM
Amit
Amit - avatar