Cocos frontend, + golang server works well? cpp vs js

I’m looking to recreate a formerly popular but dev-abandoned game. I know I need a server and a client program. For the server, I’m fairly certain I want to use golang with nano.

Does it make sense to use cocos-js for the frontend as opposed to anything else?
Anyone have experience using cocos with golang servers?

Also, I’m a little unclear on the JS/cpp options. I’ve never really used cpp, at all. I’d be willing to learn if it actually matters… but I’m (slightly) more comfortable with JS. Is there any reason to use JS over cpp or vice versa? So far, I’ve had tons of issues getting cmake to work properly. First glew issues, now sqlite3. But with JS, I simply open the example index.html in a browser, and it works.