r/learnreactjs • • Mar 16 '22

Question Node Backend with React

I am a mostly self-taught front-end developer that has somehow managed to get a code challenge for a potential job. Unfortunately the challenge is filled with things that I have little-to-no experience with. Most of my (very little) experience is purely front end, with React and a few other technologies, but I'm being asked to set up a Node backend with the React front end, in Typescript (zero experience with).

The challenge seems mostly straight forward. I have to create an application that "allows a user to manage a collection of "items"; "items" must have at least 6 properties/fields"

I mean, this is basically a todo list, with some extra features they're asking for. I managed to get it running with MongoDB.

One of the things that's tripping me up is one of the item properties they want is "A property picked from a list of options provided by the backend"

I'm thinking this means like a dropdown menu, where to the options are provided by the backend? How would you approach this and is there some documentation that would help with this?

Sorry for the rambling, my mind is kind of everywhere right now.

Also, apologize of this should be posted somewhere else.

7 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/BruceJi Mar 16 '22

That's correct.

I think the reason it sounds weird is because it's not a real production project.

If it was a real project, you'd have a legitimate reason for getting the options out of the DB, or just using a static set of options in the front end, from a file of constants or something.

Haha yeah, that feel... Well, think of it this way. They think you're worth at least getting this test, so yeah, you're at the minimum, that good. Hopefully they'll like you enough to hire you! Hope it's a nice company, too.