CartCraft E-commerce Website
This is a sample application that demonstrates an E-commerce website using React(class components) and GraphQL. The application fetches data from a GraphQL endpoint and displays them. Users can select to display products in a single category or all categories. Users can click on any product to get more information including pricing, available colors and sizes. Users can select various attributes of a particular product to suit their taste. Users can select items and add them to their shopping cart. Users can select a currency in which the product should be priced.
Designs Figma
react
, graphql
, react-router
, apollo client
, redux toolkit
- download or clone the repository via
git clone https://github.com/Samowusu/e-commerce.git
- run
npm install
to install dependencies (node version17.9.0
) - run
npm start
to start the application - launch the
graphql
endpoint.
- run
yarn
to install dependencies - run
yarn build
to build the project - run
yarn start
to start the project