Answer the question
In order to leave comments, you need to log in
Gallery with frontend loading?
Good people.
“Ben, Ben, this is Danila, ai need help!”
In general, the situation is as follows. There is a server, the server understands only javascript. There is no access to the database (damned support). There is a task, in the shortest possible time, to raise a gallery where users can upload their photos and vote for them. Problems:
1) There is no access to the database, everything must be written to files
2) Authorization should not be done in any case
3) The ability to upload photos must be from the frontend and without registration
4) Some kind of cancer needs to exclude repeated voting. I'm very afraid that 1 dofiga smart familiar superprogrammer can ruin all the competition for people by clearing the session.
Questions:
1) Is there an engine with front-end loading and voting, working exclusively on javascript?
2) How to guarantee the honesty of voting without an account?
PS - Registering a new domain and going to php with raising the engine in full layout and bridges is not an option. Term 4 days.
PSS - I don’t really want to knit social networks either, the audience is almost not active on the network
Answer the question
In order to leave comments, you need to log in
Excuse me, but what does javascript have to do with the server? What will process the file when uploading on the server?
What you want to do is orders of magnitude longer than "4 days with php".
It is unlikely that there is a ready-made one, you will have to shoot files through api to amazon s3 or an analogue, because you can’t put files from the front on the hard “server” with all your desire. The base will have to be taken like mongolab.com or an analogue, at least you can knock on js, but again the base will be out and s3 will be out, and nothing good will come of it. You want some hemorrhoids.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question