Code Monkey home page Code Monkey logo

javascript-capstone's Introduction

CM SHOPPING WEBSITE

The CM Shoping website is built with JavaScript, HTML, and CSS. Webpack, ES6 features, and notably modules have been used in developing this website. The CM Shopping Website consumes DummyJSON and Involvement APIs. The overall website styles are done using CSS.

Screenshot

screenshot

Built with

  • Major languages: HTML, CSS, JavaScript
  • Technologies used: Github, Linters, Webpack, Gitflow

Prerequisites

  • npm ( Node Package Manager )
  • git and Github Account

Setup

To get a local copy up and running follow these simple example steps.

  • Open terminal

  • Change the directory you want put the repo

  • Then run

    • Run git clone [email protected]:CRClothier/JavaScript-Capstone.git

    • cd repo-name/

    • npm install on the root directory of your project

    • npm run start

Install

Run tests

  • Webhint linter -npx hint . on the root of your directory of your project.
  • Stylelint linter
    • npx stylelint "**/*.{css,scss}" on the root of your directory of your project.
  • ESLint linter
    • npx eslint . on the root of your directory of your project.

Authors

πŸ‘€ Chris CRClothier

πŸ‘€ Mengstu Fentaw

Contributers

Acknowledgments

  • To morning session team,reviewers and standup team memebers.

Live Demo

LIVE DEMO

πŸ“ License

This project is MIT licensed.

javascript-capstone's People

Contributors

crclothier avatar mengiefen avatar

Watchers

 avatar

Forkers

mengiefen

javascript-capstone's Issues

[4pt] -Display Comments pop up with selected item's details - Student B

Create a comments popup only with the top section (displaying details of the selected item)

Screenshot 2021-06-27 at 22 10 45

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.

Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

[4pt] - Display list of items on the Homepage - Student A

Create the main part of the homepage that keeps the layout from the wireframe:

Screenshot 2021-06-27 at 21 50 23

When the page loads, the webapp retrieves data from the selected API and shows the list of items on screen with the basic data (e.g. title + image).

Prepare also "Comments" and "Reservations" buttons. They should be doing nothing - just being displayed.

This task does not include displaying the number of likes for each item.

This task does not include the counter of the items.

Peer to Peer Code Review, Js-Capstone Project

Hi @CRClothier and @mengiefen πŸ‘‹

Nice work so far. πŸŽ‰ πŸŽ‰ πŸŽ‰

The team has suggested the following required changes. ♻️

  • The Likes should be rendered when the user clicks.
  • Please Add the margin between the items in UI to separate them.
  • Please update your Readme file.

Happy Coding... πŸš€

Code Review

Hi @CRClothier,

Congratulations on your projectπŸ‘, your code is very clean and uses best practices like reducing the number of global objects, ES6 syntax, using modules.
My only suggestion is not related to the code but to the usability:

  • Please add a link to the demo in the readme file so the user can explore the project easily.

[3pt] - Add comments counter - Student B

Even if the API gives you the number of comments you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Comments pop up.

[4pt] - Display Reservations pop up with selected item's details - Student C

Create a reservations popup only with the top section (displaying details of the selected item)

Screenshot 2021-06-27 at 22 10 45

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.

Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

Review on counter

Hello @CRClothier
Your project looks amazing

  • The way you file the modules looks professional
  • Very well styled

There is only one thing I would like to mention, I noticed that productCounter is exported but never imported in other module so I will recommend to make a single default export for updateProductsArray to follow YAGNI principles

export { productCounter, updateProductsArray };

[3pt] - Add reservations counter - Student C

Even if the API gives you the number of reservations you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Reservations pop up.

[0.5pt] Find external API - group task

Find an API to base the development of the webapp around it. The API should allow you to

  • Get a list of items with a unique item id (or generate the unique id).
  • For a given item, get detailed information about it.
    choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.

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.