Welcome to eCommerce application🛍️! This platform replicates real-world shopping experiences in a digital environment. The project is a part of the final task of the course JavaScript/Front-end 2023Q4 from the RS School. It features the implementation of an online store for LEGO products, offering a diverse range of items.
- Login and Registration pages 🖥️
- Main page 🏠
- Catalog Product page 📋
- Detailed Product page 🔎
- User Profile page 👤
- Basket page 🛒
- About Us page 🙋♂️🙋♀️
- TypeScript docs
- Vite docs
- Jest docs
- SCSS docs
- CommerceTools API docs
- Materialize dosc
- Teamwork tools:
To clone and run this application, you need Git and npm installed on your computer. From your command line clone this repository:
$ git clone https://github.com/Friday-13/eCommerce-Application.git
Go into repository folder:
$ cd eCommerce-Application
Install dependencies:
$ npm install
Run the app:
$ npm run dev
Scripts
-
To start a local development server:
npm run dev
-
To generate a distribution-ready version of the project in the dist directory:
npm run build
-
To start a local web server that serves the built solution from the dist directory for previewing:
npm run preview
-
To deploy the project at GitHub Pages:
npm run build && npx gh-pages -d dist -b gh-pages
-
To run a JavaScript linter and catch potential issues early in the development process via ESLint:
npm run lint:js
-
To fix linting issues in JavaScript and TypeScript files:
npm run lint:js:fix
-
To ensure CSS and SCSS code maintains consistency across the stylesheets:
npm run lint:css
-
To fix linting issues in CSS and SCSS codebase:
npm run lint:css:fix
-
To ensure consistent code style and formatting across the project files via Prettier:
npm run format
-
To run the test suite using Jest. Jest executes the project's test cases and provides the test results:
npm run jest:test
-
To run Commitizen (cz) for creating structured and standardized commit messages:
npm run commit