Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jsinkx/autoexpert-frontend

Car aggregation service with reviews and charts based on NLP and parsing data from other car sites
https://github.com/jsinkx/autoexpert-frontend

axios chartjs d3js lodash-debounce mui react-compiler react19 redux-toolkit styled-components typescript vite

Last synced: 8 days ago
JSON representation

Car aggregation service with reviews and charts based on NLP and parsing data from other car sites

Awesome Lists containing this project

README

        

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`

```sh
docker build -t autoexpert-frontend-app .
```

Run build container

```sh
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_

```sh
pn build
pn serve
```

## Dev mode & installation

### Via system

1. [`git`](https://git-scm.com/)
2. [`Node.js`](https://nodejs.org/)
3. [`pnpm`](https://pnpm.io/installation) or [`bun`](https://bun.sh/docs/installation)
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

```sh
source .bashrc
```

Cmd

```sh
alias.bat
```

Install all dependencies

```sh
cd autoexpert-frontend
pn i
```

Run `pn dev`