Back-end часть CRM системы, упрощающей жизнь предриятиям, нуждающимся в карте заказов и контроле выполнения работ.
Веб платформа находится в разработке!
Всегда рад критике и готов принимать предложения других специалистов!
Разработчик - fedorrychkov.com, студент 4 курса К(П)ФУ, front-end разработчик. На данный момент работаю в Digital Zone.
GET /user/roles
- list of roles for users
POST /user/auth
- authorization for users and get bearer token
PUT /user/update
- update user, for all, only common props
GET /user
- get user information, endpoint for all users
POST /director
- sign up for directors
POST /director/login
- authorization for directors, get bearer token
PUT /director
- update director
GET /director/companies
- get list of companies by director id
GET /director
- get director info
POST /company
- create new company
PUT /company
- update company
GET /company/:id
- get company by id, or user.company_id param
POST /company/orders
- create new Order
PUT /company/orders
- update Order
GET /company/:id/orders
- get list of orders by company id
GET /company/:id/orders/:orderId
- get order by company id
POST /company/customers
- create new Customer
PUT /company/customers
- update Customer
GET /company/:id/customers
- get list of customers by company id
GET /company/:id/customers/phone/:phone
- get list of customers by phone and company id
GET /company/:id/customers/:customerId
- get customer by company id
POST /company/employees
- create new employee
PUT /company/employees
- update employee info
GET /company/:id/employees
- get list of employees
GET /company/:id/employees/:employeeId
- get one employee
GET /analytics/orders/:companyId
- get some analytic onfo about orders by company