A simple mvc crud for registration of products, with login. Simple, here I'm just tryna remember things to not get fired and also to know how to implement routers without frameworks.
Its important to remark, things as validations, front end validations, alerts and shit are not included here since, I just want to remember how it is to code in vanilla php, no more, so I dont get fired
-Table page (pagination's missing because I'm fucking lazy, but I learned that, in order to get pagination you dont need front end frameworks that makes you donwload almost all the table's data, you just need to do a limit in sql, then pass in php the parameter page and limit, calculate the offset, execute the query to get number of rows, get the data with limit, make a math calculation to put rows per page and return a json with 4 parameters)