0
How to do something like a server
Let's say that I have a test that a person gets a number from 0 to 100. I want to write a page that will show the top 5 people with the highest number for the test. Question: how should I do it? I'm a programmer, so I need js sql ect.
1 Odpowiedź
+ 1
1. Create a database for the test results. Recommended: MongoDB (or PostgreSQL).
2. Create an API that can create, retrieve, update and delete test results. Preferably a REST API with Node (or PHP).
3. Program a client in the backend or frontend that fetches the result for the user. Preferably with Vue or React.
4. Optional: program a client that manages the data using an admin controller. Symfony for PHP, Express for Node.
Disclaimer: This is highly opinion based.