CRM for boilers service center industry
- Client call to service center;
- If client new, admin create new client on clients page
- Admin create new order, add that client to order, add job types and parts and attach the service man to that order
- Server calculate paid depend on service man percents
- Service man take order in work with buttons on order page
- After work is done, service man click "DONE" button on order page
- PostgreSQL
- Express
- React
- Node
Before installation you need to prepare Postgresql server with db(db dump included in repo) and .env file, for example:
NODE_ENV = development
PORT = 5000
JWT_SECRET = secret_word_for_jwt_generation
DB_USER = db_user_login
DB_PASS = db_user_password
DB_NAME = db_name
DB_PORT = db_port
DB_HOST = db_host
TG_TOKEN = telegram_bot_token
git clone git@github.com:nadeocfg/service-crm.git
cd path/to/project
yarn
ornpm install
cd ./frontend
yarn
ornpm install
yarn server
- Running express server with telegram bot
yarn back
- Run only express server
yarn client
- Run react app
yarn bot
- Run telegram bot
yarn start:dev
- Run express, telegram bot and react app concurrently
- Users
- Clients
- Orders
- Paids
- Cash
- User roles
- Job types
- Boilers
- Parts
- Order statuses
- Installed Nodejs 16+;
- Installed ts-node(
npm install -g ts-node
- without this library, you not be able to run server.ts); - Installed PostgreSQL server;