/Bamazon

Primary LanguageJavaScript

Project title

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)

Motivation

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).

Build status

There is still one more piece of the application that gives a supervisor access to the system. This is not complete yet.

Screenshots

Include logo/demo screenshot etc.

Tech/framework used

Built with Node.js MySQL

Installation

  1. Clone this repository
  2. Make sure you have MySQL installed, and use the schema to create your database
  3. Run npm init and then npm install while in your repo folder

How to use?

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.

Contribute

This is an open repository, anyone can contribute...however pull requests are managed by Patrick Haberern.

License

MIT © Patrick Haberern