A
A
Anshi852018-03-03 22:42:54
MySQL
Anshi85, 2018-03-03 22:42:54

Testing system for Javascript + Node.JS + MongoDB?

Good evening, I'm starting to program in JS, at the moment I'm studying Node.JS, I was offered to make a personnel testing system, for free, I thought that this is not a bad way to make an item in my portfolio, but I don't know where to start from.
I imagine that in the database ( I don’t know which one to use yet, I have a little experience with MS SQL and MySQL, I read that it’s better to use Mongo with NodeJS ), questions and answer options will be stored, the correct answer will be somehow marked, the test starts, go questions and answers in a loop like variable_number of questions is decremented by 1, and the number of correct answers will be written to the variable using an increment.
But I can’t even imagine how to implement all this, how to display a question and answers on a page? with Form tag and getelementbyid JS? How to take data from the database and display them? With SELECT FROM?
I do not ask you to do it for me, I ask you to write the steps how you would do it and what you would use, I will try to find and read the rest.
Sorry if it's messy.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2018-03-04
@SaXXuM

Obviously, you have not yet matured to the level of the task. Taking on a difficult task right away, without any skill and experience, is a so-so idea. Beginning musicians do not immediately undertake to perform Rachmaninov's concerto, because it is pointless. A beginner in sports does not immediately try to break a world record - he will not succeed. A student at a medical university is not given a scalpel and is not told to go and have an operation to remove an appendicitis. Is the analogy clear? Therefore, start with simpler things and gain experience. Good luck and be patient!

P
Pantene742, 2018-03-24
@Pantene742

To e2e frontend, e2e backend. And a GUI test on Selenium.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question