Hello there Experts!
I am a recently displaced .net programmer and currently enrolled in a Full Stack Wed Developer BootCamp. I am struggling with some of the concepts as the volume of new material is overwhelming. We are currently working on a project with Sequelize ORM's. I have attached a screen print of a piece of code that I am having a hard time understanding. I tried to modify existing code for a search in an activity we did in class.
User with enter a Team and an Opponent. I want to get all records for the user entered Team when they played the opponent.
1) From the screen print, what is this doing --> app.get("/api/team/:team")
is that a directory path?
2) I don't understand the use of the colon?
3) Looking through my notes I may have to have --> app.get("/api/team/:team/:
but what are :team and :opponent ? Are they folders, files, parameters...I don't understand.
Can you help me make sense of all this?