Bamazon! This project containts two Node.js CLI applications that simulate the different sides of a website like Amazon There is the customer side and the manager side. (bamazonCustomer.js and bamazonManager.js)
The motivation behind this project is to learn how to bring a database (in this case MySQL) into a Node.js application in order to persist data! Furthermore we work with the idea of different users working with the database. Customers will usually view and buy something, therefore we will read and update a database. A manager will have full control, they will be able to read the contents of the database, update the stock, view low stock, add new products...etc. Here behind these two applications we see the basics of using a database in action (CRUD actions).
There is still one more piece of the application that gives a supervisor access to the system. This is not complete yet.
Include logo/demo screenshot etc.
Built with Node.js MySQL
- Clone this repository
- Make sure you have MySQL installed, and use the schema to create your database
- Run
npm init
and thennpm install
while in your repo folder
If people like your project they’ll want to learn how they can use it. To do so include step by step guide to use your project.
This is an open repository, anyone can contribute...however pull requests are managed by Patrick Haberern.
MIT © Patrick Haberern