Pavel Halanin
![]()
Middle Software Engineer
Work Experience 3 year
(JavaScript, React, React Native, Next.js, Node.js, NestJS, PHP, REST API, SwaggerUI, Docker, Git)
Software Engineer with 3 years of commercial experience, graduated with honors in Software Engineering. Began my career at DE-PA, then joined ATLANT, where I was promoted to Software Engineer 2nd Category within two years. Tech stack: JavaScript, React, React Native, Next.js, Node.js, NestJS, PHP, REST API, SwaggerUI, Docker, Git. Seeking a Middle Software Engineer position in a professional team with opportunities for further growth.
function getCardId(value) {
const ARRAY_RANK = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K'];
const ARRAY_SUIT = ['♣', '♦', '♥', '♠'];
const RANK = `${value}`.replace(/[♣♦♥♠]$/, '');
const SUIT = `${value}`.replace(/[^♣♦♥♠]/g, '');
const RANK_ID = ARRAY_RANK.indexOf(RANK);
const SUIT_ID = ARRAY_SUIT.indexOf(SUIT);
return RANK_ID + 13 * SUIT_ID;
}
class Helper {
static async fetchCompanyData_byUnp(unp) {
const URL_ = `https://grp.nalog.gov.by/api/grp-public/data?unp=${unp}`;
const RESPONSE = await fetch(URL_);
const HTTP_STATUS = RESPONSE.status;
if (HTTP_STATUS !== 200) {
const TEXT = await RESPONSE.text();
throw new Error(`HttpStatus ${HTTP_STATUS}\n${TEXT}`);
}
const DATA = await RESPONSE.json();
return DATA;
}
}
try {
const DATA = Helper.fetchCompanyData_byUnp(100582333);
console.log(DATA);
}
catch(exception) {
console.error(exception);
}
I read, I speak fluently. I’ve been practicing English for 12 years.