I
I
Ilya Famin2020-04-24 09:15:44
JavaScript
Ilya Famin, 2020-04-24 09:15:44

Need to create an online chat on js socetio and using api?

I have a site where I need to create an online chat for all users, is there any documentation on this issue, and is it possible to implement this only in js without php?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2020-04-24
@Fama18122000

Can.

  1. You can write js on the server (Node.js)
  2. You can generally do without a server with all sorts of serverless products
  3. Can be generally ready to attach

A
AlexCraft, 2020-04-24
@AlexCraft

Yes, you can write a server on node.js/express.js. JavaScript has been allowing you to write server-side applications for many years, but I recommend using a framework rather than reinventing the wheel. Try exppress first, then nest.js when you get comfortable with express. All the documentation is available on the official websites of these technologies, in addition, this ecosystem has a huge community, a huge number of examples, video tutorials, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question