Use php and jquery. Use Mysql as main database.
Install MAMP, suggest use the professional version.
Suggest Use Visual Studio Code or sublime.
Create the database in phpMyAdmin and insert the sql file.
Please use the default user and password.
Please name your database 'project'.
Please create table product, users, chart, order_history.
this is a very small but speed example of how to develep web app through MEAN Stack.
Use Node.jswith Express.js framework.
Use Mongodb to store the data.
Node.js:
https://www.udemy.com/blog/node-js-tutorial/
https://nodejs.org/dist/latest-v6.x/docs/api/util.html
Express routing: