Skip to content

Howl404/Tech-Hub

Repository files navigation

Project "Tech Hub"

RS School eCommerce project - is a team task in which the team needs to develop an eCommerce application.

Deploy - https://techhub-rss.netlify.app/ (till January 27 2024)

Project description

It's a web application that allows users to browse, select, add to basket and buy various digital appliances. The main goal of the project is to learn how to use frontend technologies and provide a convenient platform for buying products.

Project goals

Main goals of the project are:

  • Register and login systems
  • User-friendly interface for browsing and selecting products
  • Filter product by characteristics and categories
  • Cart and promocodes
  • Detailed page of every product

Technology stack

  1. Frontend:
    • HTML/CSS/TypeScript
    • React - for user interface creation
    • Axios - for HTTP request to the server
  2. Backend:
    • commercetools
  3. Additional instruments and technologies:
    • Vite - project builder
    • SASS - CSS framework with additional features
    • Prettier - automatic code formatting to a single style
    • ESLint - detecting errors and enforcing a consistent code style
    • Jest - code testing
    • Husky - running certain scripts before commits/pushes
    • Git - for version control and project repository management
    • GitHub - for hosting the repository
    • VS Code - code editor

Project team

Scripts for running ESLint, Prettier, Jest, and initializing Husky:

  • ESLint - npm run lint to check the code, npm run lint:fix will automatically fix possible errors after the check
  • Prettier - npm run format for automatic formatting of the entire codebase
  • Jest - npm run test to run tests, npm run test:watch runs tests in watch mode, allowing interaction with Jest and restarting tests on code changes
  • Husky - npm run prepare to initialize Husky

Project Installation and Launch

  1. Clone the project repository to your computer: git clone https://github.com/Howl404/eCommerce-Application.git

  2. Install project dependencies with the command: npm install

  3. To run the application, execute the command: npm run dev

Project build

  1. Perform steps 1 and 2 from Project Installation and Launch

  2. Build the project with the command: npm run build

  3. Use npm run preview to launch the project

Before commits, run the script for Husky initialization

About

React - Tech eCommerce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages