This is the final project of the RSSchool JS course.
Our team Positive Code Crafters:
The purpose of the project is frontend development skills training and teamwork training.
The result of this project will be the Plant Store eCommerce application. It's a comprehensive online shopping portal that provides an interactive and seamless experience to users.
Users can browse through a vast range of plants, view detailed descriptions, add items to the basket, and proceed to checkout. It includes features such as user registration and login, 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 390px. The application is powered by CommerceTools, a leading provider of commerce solutions.
Technologies used:
- HTML5
- CSS, scss
- TypeScript
- Webpack
- Jest
- ESLint, Prettier
- Husky to manage Git hooks
- CommerceTools
The application is a Single Page Application (SPA) with an empty index.html
Instructions for setting up and running the project locally:
- Use node 14.x or higher.
- Clone this repo: $ git clone https://github.com/sbaumgertner/eCommerce-Application.git
- Go to downloaded folder: $ cd eCommerce-Application
- Install dependencies: $ npm install
- Run build: $ npm run dev (or npm run prod)
- The built application is available in the dist folder. You can open index.html with Live Server.
Available scripts are described here. They defined in package.json and provide a simple way to execute some usefull tasks. Each script can be run in the terminal using command $ npm run 'script name'.
- dev - run webpack with development mode (webpack configuration defined in webpack.config.js). Usage: $ npm run dev
- prod - run webpack with production mode. Usage: $ npm run prod
- lint - run eslint for src folder (eslint configuration defined in .eslintrc.js). Usage: $ npm run lint
- format - run prettier for current folder with --write param (configuration defined in .prettierrc). Usage: $ npm run format
- prepare - run husky for git hooks checking. Usage: $ npm run prepare
- test - run jest unit tests. Usage: $ npm run test