Skip to content

noobCode-69/ScandiWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scandiweb Junior React Hiring Project - Test Task

This is a simple React application for managing a shopping cart. This project was a test task for a hiring drive at Scandiweb

Features

  1. Routing: The application uses React Router for navigation and routing.
  2. Add to Cart: Users can add items to the cart by clicking on the "Add to Cart" button on the product page.
  3. Cart Management: Users can view the items in their cart, update the quantity of items, and remove items from the cart.
  4. Local Storage: The cart data is stored in the browser's local storage so that it persists even after the user closes the browser.
  5. GraphQL: The application uses GraphQL to fetch product data from the server.

Requirements

To run the application, you need to have the following installed on your system:

  1. This web app expects you to provide a GraphQL backend at port 4000
  2. Node.js
  3. npm or yarn

Getting Started

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Run npm install to install the required packages.
  4. Run npm start to start the application.
  5. Open your web browser and navigate to http://localhost:3000/ to view the app.

Conclusion

This is a simple but fully functional React application for managing a shopping cart. The application uses modern web development technologies such as React, GraphQL, and local storage to provide a seamless user experience. We hope that you find this project useful and informative.