Answer the question
In order to leave comments, you need to log in
Is it possible to have a review site without a server in Node (HTML+CSS+JS only)?
Good afternoon.
I decided to make a simple review site in: the user sees an empty form and below the already published reviews of other people. So far, only text. The user fills out the form, clicks Submit and his review appears on the site.
The question is this: is it possible to implement the storage and modification of the content (well, that is, the file in which the published reviews are) without using a server?
Well, i.e. just an independent site that changes itself (HTML \ CSS + included JS script).
What if, for example, reviews are written to an array of objects in a JS file?
Do not throw slippers, I'm learning!
Answer the question
In order to leave comments, you need to log in
This is possible in today's world. Although you can’t do without a backend, you don’t have to write it yourself. The described task is quite simply solved using, for example, firebase from Google (or analogues)
js is executed on the client, so it cannot write HTML that is stored on the server.
Of course, you can make a crutch and write in js which thread the WebDAV client and write to the server, etc. But it's not worth it.
So php for example will help you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question