Giter Club home page Giter Club logo

smartbuy-store's Introduction

SmartBuy Ecommerce Platform

Welcome to SmartBuy Store! This project is an ecommerce platform powered by the BestBuy API. It allows users to browse and purchase a wide range of electronic products, gadgets and some other cool stuff!

Prerequisites

Before running the project, ensure that you have the following installed:

  • Node.js (version 18.16.0)
  • PNPM (version 8.2.0)

Installation

  1. Clone the repository:
git clone https://github.com/pedropcruz/smartbuy-store
  1. Navigate to the project directory:
cd smartbuy-store
  1. Install dependencies
pnpm install

Configuration

  1. Obtain an API key from the BestBuy Developer Portal.
  2. Rename the .env.example file to .env.
  3. Open the .env file and replace <YOUR_API_KEY> with your actual BestBuy API key.

Usage

To start the development server, run the following command:

pnpm dev

Access the application in your browser at http://localhost:3000.

Running Unit Tests

To run the unit tests, use the following command:

pnpm test:unit

This will execute all the unit tests and display the test results.

Running end-to-end (e2e) Tests

Before you run this, make sure you have

  1. Start the development server (if not already running):
pnpm test:e2e

The e2e tests will simulate user interactions and verify the functionality of the application.

smartbuy-store's People

Contributors

pedropcruz avatar

Watchers

 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.