Skip to content
All projects

Hod Dela legal service

From the first question to a finished document in one conversation. A website, file sharing, an owner workspace and two-way Telegram messaging.

Open the project site
Client
Ход дела
What we did
Design · Website · Chat · Workspace · Telegram · Infrastructure
  • nextjs
  • react
  • typescript
  • nestjs
  • postgresql
  • telegram
  • docker

The project task

Keep the question, documents and finished result in one conversation.

Start with a message, without registering or making a phone call. Agree the work, share materials and receive the document in the same conversation.

How we put the service together

  1. Stage 01

    The enquiry journey

    Four clear stages: situation, agreement, materials and result. The landing page explains them before the conversation starts.

    1. How an enquiry works
    2. What the service handles
    3. From a question to a document
    4. Chat without an account
  2. Stage 02

    Visual language

    A dark green map, paper-like cards, Cormorant Garamond and pink strokes. One language for the website and the working interface.

    The first screen with an example conversation
  3. Stage 03

    Chat and documents

    Messages are stored on the server. Materials and the finished document share the same conversation. A verified email enables access on another device.

    An empty guest chat with the message editor
  4. Stage 04

    Sharing materials with consent

    Before the first message, visitors explicitly consent to personal data processing. The policy and consent text are linked beside the editor; attachments can be reviewed and removed before sending.

  5. Stage 05

    Owner workspace

    Enquiries, replies, statuses, attachments and private notes live in a dedicated workspace. Completed enquiries can move to archive or trash. Permanent deletion is available from those sections and requires a separate confirmation.

  6. Stage 06

    Telegram

    Two-way messaging is linked to the enquiry. A delivery queue and duplicate handling account for failures in the external channel.

  7. Stage 07

    Deployment

    Next.js and NestJS run in Docker behind Caddy. Database, files and the previous release are backed up before updates.

The website and working chat

  1. The first screen with an example conversation
    How an enquiry worksThe first screen explains the service through an example conversation with a source file and a prepared document. This is an interface example, not a client story.
  2. Practice areas and specific tasks
    What the service handlesCriminal law and administrative offences: the scope is explained through specific tasks.
  3. A card explaining the first stage of an enquiry
    From a question to a documentFour stages show what the client needs to provide and what they will receive.
  4. An empty guest chat with the message editor
    Chat without an accountThe working chat is open to guests. Visitors consent to data processing before the first message; materials and discussion stay within one enquiry.

Interface decisions

Select a marker to take a closer look.

Technologies and their roles

The project’s technology
No.ComponentWhereWhy
01Next.js · React · TypeScriptInterfaceLanding page, working chat, sign-in and owner workspace in one application.
02SCSS · Cormorant GaramondDesignA shared language for the website and chat: a map, paper surfaces and pink strokes.
03NestJS · PostgreSQLDataEnquiries, messages, consent records and access rules live on the server. Archive and trash help the owner manage enquiry history.
04Generated API clientContractThe request client is generated from the backend schema so the interface and server share a contract.
05TiptapEditorMessage formatting and content editing inside the conversation.
06Telegram Bot API · queueMessagingTwo-way conversations, delivery retries and confirmed history linking.
07ClamAV · access checksFilesFormat validation and antivirus scanning on upload; downloads check access to the enquiry.
08Docker · CaddyDeploymentSeparate applications, HTTPS, backups and rollback to the previous release.

Client feedback

Translated from the original Russian review.

Hod Dela is live

hod-dela.ru