Senior Full-Stack JavaScript Developer
Full-stackPosted 5 weeks agovia Himalayas, a remote job board
- Work type
- RemoteOpen worldwide
- Experience
- Not stated
- Pay
- Not listed
- Posted
- 5 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Human Power BG is an HR agency that offers consultations and recruitment for some of the best companies in Bulgaria.
~~~
Our client's platform empowers hundreds of remote software specialists from Eastern Europe to work with the most innovative tech companies from around the world.
They take pride in their friendly working environment that values self-improvement, work-life balance, and constantly doing their best in every aspect of our lives. You can join in from anywhere in the world, since they know that great people do awesome work wherever they are. Every few months they travel to meet up at different places and spend some quality time together.
Our client is not an outsourcing or consulting company, but a tech-enabled solution that shapes the way businesses evolve by working with empowered and happy people, anytime and anywhere. On their platform, you can work for innovative brands like Financial Times, Remberg, Giraffe360, Progress, ZotaPay, DraftKings, Xapix, and many others.
THE ROLE:
You will be part of a cross-functional agile team (typically 6-10 people) working together to build micro-services for their partners platform. The job is within one of the largest gaming companies in the world with over 20 million customers across 100 markets.
YOU WILL USE:
- JavaScript, React Native, NodeJS, Webpack, ES6, RESTful, Webservices
- Agile, Docker, Jenkins
INTERESTING FACTS ABOUT THE PROJECT:
- Uptime of 99,95% across our sites
- Deployed more than 10,000 production releases last year
- The platform consists of more than 250 micro-services
- More than 40 million transactions per day
- More than 40 game providers integrated
- More than 20 payment providers integrated
WHAT YOU WILL DO:
- You Design it, You Build It, You Test It, You Run It, You Tweak It this is the ethos and you will be expected to take part in the full software life cycle to ensure reliability and uptime of the production environment
- You will participate in design discussions with your colleagues to find great solutions to complex engineering challenges
- You will discuss with architects on upcoming projects and propose solutions as needed
- Caring deeply about secure, well-documented, and maintainable code
- Planning and setting up the component architecture.
ENJOY THEIR SIGNATURE REMOTE WORK PACKAGE:
- Freedom to choose when and where to work from 365 days in the year
- Professional development program
- We cover training, certifications, workshops, or conferences to improve your personal development for up to 5000 per year
- Company retreats plus monthly team meetups (expenses covered) for team-building
- Additional Health Insurance
- Workstation and a 500 budget to set up your home office
- Monthly reimbursement for a gym membership, or other sports, promoting a healthy lifestyle
- 24/7 access to our offices equipped with recreation and event facilities
- Opportunity to grow your entrepreneurship skills and access to our business network
- Professional coaching by ICF-certified specialists
- Mental health support
~~~~~~~~~~
If this position is of interest to you and you meet the requirements, please send your updated CV.
For any questions you may have, please contact us:
087 834 4981 or
Thank you!
~~~~~~~~~~
We will contact only approved candidates!
Our services are free of charge to all applicants.
***
All candidates will be treated in strict confidence.
All data provided by you is protected by the meaning of the Personal Data Protection Law and will be used only for the purposes of this selection.
***
Human Power has an indefinite license 3084 issued by the National Employment Agency to provide services in the field of human resources.
***
Human Power is part of BNI Industry.
Originally posted on Himalayas
Interested?Senior Full-Stack JavaScript Developer at Human Power BG
Apply on Himalayas (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on JavaScript, Microservices, React Native and 6 more
Interview questions for this job
For the skills the ad mentions: JavaScript, Microservices, React Native, Node.js, Webpack, REST APIs, Agile, Docker and CI/CD.
Create a function
batchesthat returns the maximum number of whole batches that can be cooked from a recipe.JavaScriptIntermediateWe must have all ingredients of the recipe available, and in quantities that are more than or equal to the number of units required. If just one of the ingredients is not available or lower than needed, we cannot make a single batch.
Use
Object.keys()to return the ingredients of the recipe as an array, then useArray.prototype.map()to map each ingredient to the ratio of available units to the amount required by the recipe. If one of the ingredients required by the recipe is not available at all, the ratio will evaluate toNaN, so the logical OR operator can be used to fallback to0in this case.Use the spread
...operator to feed the array of all the ingredient ratios intoMath.min()to determine the lowest ratio. Passing this entire result intoMath.floor()rounds down to return the maximum number of whole batches.const batches = (recipe, available) => Math.floor( Math.min(...Object.keys(recipe).map(k => available[k] / recipe[k] || 0)) )Good to hear
From 30 seconds of interviews (MIT)
Should Microservices talk to each other?Microservices
I would generally advise against having microservices do synchronous communication with each other, the big issue is coupling, it means the services are now coupled to each other, if one of them fails the second is now fully or partially disfunctional.
I would make a clear distinction between state changing operations and read operations (CQS Command Query Separation). For state changing operations i would use some kind of messaging infrastructure and go for fire and forget. For queries you would use Synchronous request response communication and could use an http API or just go directly to your data store.
If you are using messaging then you can also look at publish subscribe for raising events between services.
Another point to consider is (transactional) data sharing (as opposed to read only views) if you expose your internal state the reader might get the wrong state of your data, or the wrong version, and also will potentially lock your data?
Last but not least, try to do everything you can to keep your services autonomous (at least at the logical level).
Hope this makes sense.
From Software Engineering Stack Exchange: asked by KidCode, answered by Sean Farmar (CC BY-SA 3.0)
How to do logging in React Native?React Native
You can use
console.log,console.warn, etc. As of React Native v0.29 you can simply run the following to see logs in the console:$ react-native log-ios $ react-native log-androidFrom ReactJS Interview Questions & Answers (MIT)
Using Node.js require vs. ES6 import/exportNode.js
Update
Since Node.js v12 (April 2019), support for ES modules is enabled by default, and since Node.js v15 (October 2020) it's stable (see here). Files, including Node.js modules, must either end in
.mjsor the nearestpackage.jsonfile must contain"type": "module". The Node.js documentation has a ton more information, also about interoperability between CommonJS and ES modules.Performance-wise there is always the chance that newer features are not as well optimized as existing features. However, since module files are only evaluated once, the performance aspect can probably be ignored. In the end, you have to run benchmarks to get a definite answer anyway.
ES modules can be loaded dynamically via the
import()function. Unlikerequire, this returns a promise.Previous answer
Are there any performance benefits to using one over the other?
Keep in mind that there is no JavaScript engine yet that natively supports ES6 modules. You said yourself that you are using Babel. Babel converts
importandexportdeclaration to CommonJS (require/module.exports) by default anyway. So even if you use ES6 module syntax, you will be using CommonJS under the hood if you run the code in Node.js.There are technical differences between CommonJS and ES6 modules, e.g., CommonJS allows you to load modules dynamically. ES6 doesn't allow this, but there is an API in development for that.
Since ES6 modules are part of the standard, I would use them.
From Stack Overflow: asked by kpimov, answered by Felix Kling (CC BY-SA 4.0)
NPM vs. Bower vs. Browserify vs. Gulp vs. Grunt vs. WebpackWebpack
Webpack and Browserify
Webpack and Browserify do pretty much the same job, which is processing your code to be used in a target environment (mainly browser, though you can target other environments like Node). Result of such processing is one or more bundles - assembled scripts suitable for targeted environment.
For example, let's say you wrote ES6 code divided into modules and want to be able to run it in a browser. If those modules are Node modules, the browser won't understand them since they exist only in the Node environment. ES6 modules also won't work in older browsers like IE11. Moreover, you might have used experimental language features (ES next proposals) that browsers don't implement yet so running such script would just throw errors. Tools like Webpack and Browserify solve these problems by translating such code to a form a browser is able to execute. On top of that, they make it possible to apply a huge variety of optimisations on those bundles.
However, Webpack and Browserify differ in many ways, Webpack offers many tools by default (e.g. code splitting), while Browserify can do this only after downloading plugins but using both leads to very similar results. It comes down to personal preference (Webpack is trendier). Btw, Webpack is not a task runner, it is just processor of your files (it processes them by so called loaders and plugins) and it can be run (among other ways) by a task runner.
Webpack Dev Server
Webpack Dev Server provides a similar solution to Browsersync - a development server where you can deploy your app rapidly as you are working on it, and verify your development progress immediately, with the dev server automatically refreshing the browser on code changes or even propagating changed code to browser without reloading with so called hot module replacement.
Task runners vs NPM scripts
I've been using Gulp for its conciseness and easy task writing, but have later found out I need neither Gulp nor Grunt at all. Everything I have ever needed could have been done using NPM scripts to run 3rd-party tools through their API. Choosing between Gulp, Grunt or NPM scripts depends on taste and experience of your team.
While tasks in Gulp or Grunt are easy to read even for people not so familiar with JS, it is yet another tool to require and learn and I personally prefer to narrow my dependencies and make things simple. On the other hand, replacing these tasks with the combination of NPM scripts and (propably JS) scripts which run those 3rd party tools (eg. Node script configuring and running rimraf for cleaning purposes) might be more challenging. But in the majority of cases, those three are equal in terms of their results.
Examples
As for the examples, I suggest you have a look at this React starter project, which shows you a nice combination of NPM and JS scripts covering the whole build and deploy process. You can find those NPM scripts in
package.jsonin the root folder, in a property namedscripts. There you will mostly encounter commands likebabel-node tools/run start. Babel-node is a CLI tool (not meant for production use), which at first compiles ES6 filetools/run(run.js file located in tools) - basically a runner utility. This runner takes a function as an argument and executes it, which in this case isstart- another utility (start.js) responsible for bundling source files (both client and server) and starting the application and development server (the dev server will be probably either Webpack Dev Server or Browsersync).Read the rest at the sourceFrom Stack Overflow: asked by VB_, answered by Daniel Macak (CC BY-SA 4.0)
Do you have any weaknesses?Behavioural
You should be honest when answering questions on your weaknesses. Say how you're working to improve them.
ExampleQuestion - "Do you have any weaknesses?"
Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".
From National Careers Service: interview advice (Open Government Licence v3.0)
