- My profile
- All repositories, source codes, READMEs, pull requests, commits, issues, and...
- My portfolio
- Find all deployed applications.
- A fully-featured Node.js console application simulating a online retail shopping experience like that of Amazon.
- There is an inventory of miscellaneous items stored in MySQL database.
- As it can be seen below, items get pulled and displayed in a tabular format to customers and managers.
- The inventory can be updated and items can be added to and removed from database through command line (console).
- Languages, libraries, and frameworks:
JavaScript
- DB Server:
MySQL
- Runtime Environment:
Node.js
- Dependencies:
inquirer
,mysql
,table
- Package Manager:
npm
- Version control:
Git
- Editor:
Visual Studio Code
- Operating System:
Mac OS
- See the application up and running via GitHub Pages directly from its depository.
- Here see a short demo of this application on my YouTube channel!
In order to run the application on your device, follow the instructions given below:
- Clone down the application to your local device
- Install the packages specified in
package.json
- Get your database up and running.
- Start MySQL server
- On Mac: Open Spotlight Search, type in mysql, then choose mysql.prefPane, enter your password, and finally hit Start MySQL Server
- Create schema using
schema.sql
- Add data to your database using
seeds.sql
- Modify port, user, and password in the corresponding
.js
to reflect your credential.
- Start MySQL server
- Open terminal (on mac)
- There are 2 options:
- If you wish to run the app as a customer and do shopping, then :
$ node bamazonCustomer.js
- If you wish to see it as a manager:
$ node bamazonManager.js
- Finally, follow instructions on the console to proceed further.
- Tabular illustration of data
- ...