
🌐 Machine-translated from Russian. Show original
EDS via API for developers in Kazakhstan: official SDK NC RK, open NCANode with REST API, commercial signing services, OCSP, CRL, and TSP services, and how to securely embed signature and verification into your system.
In this part:
What to choose from
| Option | What is | When is | suitable
| --- | --- | --- |
| NCALayer is on the user side | signature in the browser, the key remains with the person | the website or cabinet where the user signs |
| NUC SDK (Kalkan libraries) | an official set of libraries and test certificates | its own verification and signature on the server, full control over |
| NCANode | an open server with a REST API on top of the NCANode SDK | quickly obtain an HTTP API for verifying and signing |
| Commercial services (e.g., SIGEX) | ready-made cloud API: documents, QR signature via eGov Mobile, digital signature login, | don't want to keep your infrastructure |
Detailed code for browser signature and server verification are covered in the series "EDS and NCALayer for Developers."
NUC RK SDK
Read more
🌐 Machine-translated from Russian. Show original
In this part:
Candidates
| Platform | What is | License |
|---|
| GitLab CE | a complete platform: repositories, tasks, MR, CI/CD, registries, wikis, | MIT (CE); EE — proprietary |
| **GitLab.com | ** cloud GitLab | free and paid plans |
| Gitea | a lightweight self-hosted Git service on Go | MIT |
| Forgejo | a community fork of Gitea, running Codeberg | GPL-3.0+ (since version 9) |
| GitHub | Microsoft's cloud platform, the largest community | cloud; Enterprise Server — paid |
Comparison
| GitLab CE (proprietary) | Gitea / Forgejo | GitHub (cloud) |
|---|
| Server resources | from 8 GB RAM, 16 GB recommended | from 1–2 GB RAM, works even on a mini PC | no |
| Install and update | package, monthly updates | one binary or Docker, just | don't need |
| CI/CD | built-in GitLab CI, a very powerful | Gitea Actions / Forgejo Actions (syntax close to GitHub Actions) + its own runner | GitHub Actions, a huge marketplace |
| Register of containers and packages | ✅ | ✅ | ✅ |
| Tasks, boards, milestones, | ✅ developed | ✅ basic | ✅ Issues + Projects |
| Mandatory approvals MR, CODEOWNERS | paid (Premium) | ✅ free | ✅ for public; for private — in paid tariffs |
| Sign-in via AD/LDAP | ✅ | ✅ | Enterprise |
| Working without internet | ✅ | ✅ | ❌ |
| Data in the RK | ✅ on your server | ✅ on your server | ❌ |
When what is suitable
GitLab CE — "all-in-one" for the team
Read more
🌐 Machine-translated from Russian. Show original
In this part:
How GitLab CI works
| Concept | What is |
|---|
| .gitlab-ci.yml | file in the root of the repository describing the pipeline |
| Pipeline | running everything described on a specific commit |
| Stage | stage: test → build → deploy; stages proceed sequentially |
| Job | a task within a stage; tasks from one stage run parallel to |
| Runner | a machine that performs tasks (installed in Git for the team, part 4: my GitLab CE on Ubuntu 24.04 — installation, HTTPS, email, backups, and runners |
| Artifacts | files that the task passes on or uploads |
| Variables | variables and secrets set in the project settings |
| Environment | environment (staging, production) with deployment history and a rollback button |
The basics of Docker, Dockerfile, and rollback deployment are thoroughly covered in the series "Docker and CI/CD from Scratch." Here we assemble the full pipeline specifically for GitLab: with launch rules, cache, registry, and environments.
What we will get
Read more
🌐 Machine-translated from Russian. Show original
1C is one of the most in-demand areas in Kazakhstan: accounting for almost any company, from a store to a holding, is maintained in 1C. Designations: J — junior, M — middle, S — senior.
In this part:
Platform and facilities
J. How does a reference book differ from a document?
The directory stores conditionally constant information: nomenclature, counterparties, employees. The document records the event in time (it has a date and number) and is usually conducted — forming movements through registers: receipt of goods, sales, payroll accrual.
J. What types of registers are there and how do they differ?
- Information register — stores values by measurements, can be periodic (exchange rates, prices, employee positions).
- Accumulation register — numerical indicators with receipts and expenses. The "Balances" type — for what can be counted on the date (goods in stock, settlements). The "Turnover" type — for items that have no meaning in the balance (sales, expenses).
- Accounting register — entries according to the chart of accounts (debit, credit, subaccount).
- Calculation register — complex periodic calculations (salary) with validity periods and recalculations.
J. What is document execution?
Read more
🌐 Machine-translated from Russian. Show original
In this part:
When you need your own GitLab
| Your own GitLab (self-managed) | GitLab.com / GitHub (cloud) |
|---|
| Code and data you have, including in Kazakhstan | Code on provider servers abroad |
| No user limits in CE | Free plans with |
| Operates on a closed network without internet | Internet |
| Updates, backups, and security — your concern | Serviced by the |
If the repositories contain personal data or storage requirements in Kazakhstan, or only need access from the corporate network, your own GitLab is justified. For two developers on a pet project, the cloud or lightweight Gitea/Forgejo are easier (comparison — in Git for the team, part 6: GitLab, Gitea, Forgejo, or GitHub — what to choose and when to pay).
Read more
🌐 Machine-translated from Russian. Show original
In this part:
Why review code
A review is not a "supervisor check," but a way to:
- catching mistakes before selling when to fix them is the cheapest;
- to spread knowledge: at least two people know about each section of the code;
- maintain a unified style and architecture;
- to teach beginners on real problems.
A merge request (MR, on GitHub — pull request) is a "merge my branch into main" request with discussion, diff, CI results, and a Merge button.
Rules worth agreeing on
For the author:
- MR is small: up to 300–400 lines of changes. We split a large task into several MR.
- The title is clear without revealing the code: "Sales Report: Branch Filter (#142)."
- In the description: what has been done, why, how to check, screenshots for the interface.
- Before sending — I read my diff myself, CI is green.
- Not ready yet — mark MR as Draft (Mark as draft button or prefix
Draft: in the title): it cannot be accidentally merged.
For the reviewer:
Read more
🌐 Machine-translated from Russian. Show original
In this part:
Why negotiate branches
When more than one person works in the repository, chaos arises without rules: there is unfinished code in main , no one knows what's currently on sale, and the release turns into a "glue" of a dozen branches on the last night.
The branching strategy answers three questions:
- Where does stable code lie?
- Where is the development of the new task taking place?
- How does the code get to the product?
Three strategies that work
GitHub Flow — the simplest
- There is one long-lasting branch of
main — it is always ready to be displayed.
- Each problem is a short branch of
feature/... from main.
- Ready → merge request → review → merge into
main → automatic deployment.
Suitable for web services and teams with CI/CD, where they post frequently.
GitLab Flow — with environments
The same as GitHub Flow, plus environments or release branches:
main → automatically to the test bench;
production (or release/2026.11) → to the product; the code is entered there by merging from main after verification.
Suitable when there is acceptance between 'ready' and 'on prod': internal systems, 1C, banking integrations, scheduled display windows.
Trunk-based — for mature teams
Read more
🌐 Machine-translated from Russian. Show original
In this part:
How Git works in 2 minutes
Git stores the project history as a chain of snapshots (commits). Each commit has an author, date, message, and a link to the previous one.
| Zone | What's there | Team to hit |
|---|
| Working folder | files you edit | — |
| Staging | what will be included in the next commit | git add |
| Local repository | commit history on your disk | git commit |
| Remote repository | shared server: GitLab, GitHub, Gitea | git push |
The main thing to remember: what is committed is almost impossible to lose. Even after a "failed" reset, a commit can be found in git reflog (more on this below). Only what you never committed is lost.
Step 1. Installation and initial setup
- Windows — git-scm.com/install (installed together with Git Bash) or
winget install --id Git.Git -e.
- macOS —
brew install git or Xcode Command Line Tools.
- Ubuntu 24.04 —
sudo apt install -y git. In the Ubuntu repository, the version is older but sufficient for operation.
Check:
git --version
Once on the computer:
Read more
🌐 Machine-translated from Russian. Show original
In this part:
Where Vulnerabilities Come From
Most often—not due to complex errors, but because of forgotten checks: permissions were not checked on the server, input data was not validated, the secret was left in the code. A guide for developers is the OWASP Top 10 list: the most common web application vulnerability classes.
Access control breach
The most common problem: the user sees or changes someone else's data by inserting a different ID into the request.
// ❌ Плохо: доверяем ID из запроса
const order = await db.order.findUnique({ where: { id: req.params.id } });
// ✅ Хорошо: проверяем владельца на сервере
const order = await db.order.findFirst({ where: { id: req.params.id, userId: session.userId } });
if (!order) return notFound();
Rules:
- Each data request checks rights on the server. A hidden button in the interface is not protection.
- Default access is denied, permission is explicitly granted.
- Admin functions — separate routes with separate role verification.
Injections
SQL injections, command injections, XSS — all occur when user data enters the code without processing.
Read more