The backend needs to design the overall architecture of the back-end so as to have the information from the front-end flow to the back-end and be able to interact with the database. Along with establishing the connection is to create the classes responsible for all of this happening.