good project structure, correct use of React / mongoDB / express concepts
The JSON body parser could just be included for all routes inside of server.js:
app.use(express.json());
Then you don't need to handle it inside your reparate routers
current process:
- go over all comments
- for every comment, go over all movies if the comment belongs to the movie, insert it into the new database
if there are 100 movies and 1,000 comments, this process would have 100,000 steps
better process:
- go over all movies
- for every movie, find all corresponding comments insert every comment into the new database
inconsistent formatting: some indendations are made with tabs, other indentations are made with spaces
suggestions for state entry names:
- classOfMovieList -> isMovieListVisible
- classOfAboutPage -> isAboutPageVisible
- movieInfoComments -> isInfoCommentsSectionVisible
names errorMessage and errorMessage2 could be more specific / clearer
events of custom components should start with on
counter examples: <Pagination setCurrentPage=... />
<Header homeButtonClick=... aboutButtonClick=... />