Skip to content

Latest commit

 

History

History
93 lines (61 loc) · 1.52 KB

README.md

File metadata and controls

93 lines (61 loc) · 1.52 KB
autoexpert

Autoexpert

Car aggregation service with reviews


Stack

  • Vite
  • Typescript
  • React 19 RC
  • Redux Toolkit
  • axios
  • styled-components
  • MUI
  • lodash.debounce
  • d3.js
  • chart.js

Config app

An example of the config is in .env.example, but to use it you need to create .env

Integration of the config from .env into javascript variables and all constants are in ./src/shared/constants.ts

Production mode

By docker

Warning: don't forget to create .env

docker build -t autoexpert-frontend-app .

Run build container

docker run --name autoexpert-frontend-app --restart=always -d -p 80:80 autoexpert-frontend-app

By package manage (don't recommended)

For development bun and pnpm available

Despite project has bun.lockb, I don't recommend use it for production (build app), stay on pnpm or other

Check installation part

pn build
pn serve

Dev mode & installation

Via system

  1. git
  2. Node.js
  3. pnpm or bun
  4. Install all dependencies package.json

Warning: before use pn command, need to read alias in .bashrc or alias.bat, also instead pn can called pnpm

Terminal

source .bashrc

Cmd

alias.bat

Install all dependencies

cd autoexpert-frontend
pn i

Run pn dev