🌎this is this.
is a web application for searching and buying travel tours.
The project is being developed as part of the final task of the course JavaScript/Front-end (2023Q1) from the RS School.
The this-is-this team
is working on the project.
.env example
CTP_PROJECT_KEY= CTP_CLIENT_SECRET= CTP_CLIENT_ID= CTP_AUTH_URL= CTP_API_URL= CTP_SCOPES=
necessary scopes
- view_products
- view_cart_discounts
- view_shipping_methods
- view_categories
- view_discount_codes
- view_product_selections
- manage_my_shopping_lists
- manage_my_payments
- manage_my_profile
- manage_my_orders
- create_anonymous_token
- Develop a Single Page Application (SPA) without using frameworks
- Teamwork skills
- Task planning
- Consolidation of knowledge gained on the course
To get a local copy of the project perform the following actions:
- Clone the repo
git clone https://github.com/this-is-this-team/eCommerce-Application.git
- Install npm packages
npm install
- Run the project locally
npm run start
- build development version
npm run build:dev
- build production version
npm run build:prod
- сhecks formatting for all project files
npm run prettier:check
- auto fixes formatting for all project files
npm run prettier:fix
- checks linting for all project files
npm run lint:check
- auto fixes linting error for all project files
npm run lint:fix
- run all
*.test.ts
files for test execution
npm run test
ALSO
Before making a commit an automated check is performed for formatting, linting, and code testing using Husky and lint-staged
npx lint-staged
npm run test