Coder Social home page Coder Social logo

bamazon's Introduction

bamazon

Overview

This project is a amazon like application.

Problem

In this cli application, the user can order products, view products, manage products, and manage sales. There are three different types of users - Customer, Manager, and Supervisor.

BamazonCustomer

As a customer, you can view all products and select a product to purchase. View an example in action of Bamazon Customer.

BamazonManager

As a manager, you can view all products, add a new product to the inventory, add more inventory to a product, and View Low Inventory (with less than 5 items). View an example in action of Bamazon Manager.

BamazonSupervisor

As a supervisor, you can view all sales by department and create a new department. View an example in action of Bamazon Supervisor.

How I solved it

I solved this challenge using mysql to create a database and node to read and update the database.

Technical Approach

I solved this problem by using a combination SQL and Javascript. I used SQL to create the database and to populate the database with some initial entries. I used a complex inner join statement to query and aggregate all sales by department from a department table and a products table. I used Javascript to write the program itself.


Contributors and Maintainers

Contributors and maintainers: Cynthia Nikolai


Dependancies

inquirer mysql table


License

None. You are free to use this code as desired for commercial or private use.


For Assistance

For assistance, please contact Cynthia at [email protected].


Donations

If you like this project, please donate to [email protected]. ๐Ÿ˜ƒ

bamazon's People

Contributors

cnikolai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.