Table of Contents
Learning project from the course The Rolling Scopes School JavaScript/Front-end
Completed: July 2024
! After commercetools trial expiration project was migrated - now it takes data from local files.
Check out deployment - at netlify
Here can browse through a vast range of products, view detailed descriptions, add their favorite items to the basket, and proceed to checkout . It includes features such as product search, product categorization, and sorting to make the shopping experience more streamlined and convenient.
An important aspect of our application is that it's responsive, ensuring it looks great on various devices with a minimum resolution of 320px. This feature makes the shopping experience enjoyable, irrespective of the device users prefer.
- Application is SPA
- Product cards
- Products by category
- Basket for goods
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Below is an example of how to install and configure the application.
-
Clone the repo
sh git clone https://github.com/KateGoncharik/eCommerce-Application-Q4.git
-
Install NPM packages
sh npm install
-
Start project
sh npm run start
Available scripts:
npm run dev
Start local development server
npm run build
Build project in production mode for further deployment
npm run format:fix
Reformat source code & configs to match Prettier
settings
npm run lint
Check source code with ESLint
. Exit with non-zero return code after the first found warning (useful for CI/CD)
npm run lint:fix
Automatically fix all auto-fixable errors & warnings with ESLint
npm run typecheck
Perform TypeScript typechecking of source code with tsc
(TypeScript Compiler)
npm run preview
Locally preview the production build
npm run prepare
Runs automatically after package installation to install Husky hooks
npm run test
Runs tests with Vitest
npm run coverage
Displays coverage of implemented tests
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (git checkout -b feature/...)
- Commit your Changes (git commit -m 'Add some ...')
- Push to the Branch (git push)
- Open a Pull Request