Sr Developer - NodeJS
BackendPosted 2 weeks agovia Himalayas, a remote job board
- Work type
- RemoteIn India
- Experience
- 4+ years
- Pay
- Not listedUsually ₹6.2 LPABackend, median at 1–4 years, in India (Payscale)
- Posted
- 2 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
We are hiring a Senior Node.js Developer who will handle data exchange between the server and client applications. Your primary duty will be to build the server-side logic, and assure excellent performance and responsiveness to front-end requests.
Key Responsibilities:
- 4+ years of working experience using NodeJS in backend
- Knowledge on GraphQL
- Experience in designing and developing server less applications
- Good debugging skills using modern Dev Tools
- Experience with RESTful API development and integration
- Experience in Unit tests, code reviews
- Experience with mentoring junior engineers
- Ability to up-skill in new technologies
- Innovative thinker with strong problem-solving skills
- Early joiner preferred
Experience: 4+ Years
Location: Remote Working (India)
Required Skill Set: NodeJS, GraphQL, NPM, RESTful API
Education: BCA, BSc (Computers), B. Tech, MCA
Functional Competence:
- NodeJS
- GraphQL
- NPM
- RESTful API
- Apollo GraphQL (would be a plus)
About CocoTechoes - The Engineering Studio
BESPOKE AUTOMATION, INTEGRATION AND DIGITISATION SOLUTIONS
We engage as an extension of yourself providing strategic ideation, inputs and coordination which enables businesses to focus on their key capabilities while reducing all the noise around delivering a quality product into the market.
We are an end to end technology solutions provider providing consulting and strategic tech based engagements for startups, SMEs and global corporations.
Originally posted on Himalayas
Interested?Sr Developer - NodeJS at CocoTechoes
Apply on Himalayas (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Node.js, GraphQL and REST APIs
Interview questions for this job
For the skills the ad mentions: Node.js, GraphQL and REST APIs.
Is there a way to get the version from the 'package.json' file in Node.js code?Node.js
I found that the following code fragment worked best for me. Since it uses
requireto load thepackage.json, it works regardless of the current working directory.var pjson = require('./package.json'); console.log(pjson.version);A warning, courtesy of @Pathogen:
Doing this with Browserify has security implications.
Be careful not to expose yourpackage.jsonto the client, as it means that all your dependency version numbers, build and test commands and more are sent to the client.
If you're building server and client in the same project, you expose your server-side version numbers too. Such specific data can be used by an attacker to better fit the attack on your server.From Stack Overflow: asked by Abhik Bose Pramanik, answered by Mark Wallace (CC BY-SA 4.0)
When and How to use GraphQL with microservice architecture?GraphQL
Definitely approach #1.
Having your clients talk to multiple GraphQL services (as in approach #2) entirely defeats the purpose of using GraphQL in the first place, which is to provide a schema over your entire application data to allow fetching it in a single roundtrip.
Having a shared nothing architecture might seem reasonable from the microservices perspective, but for your client-side code it is an absolute nightmare, because every time you change one of your microservices, you have to update all of your clients. You will definitely regret that.
GraphQL and microservices are a perfect fit, because GraphQL hides the fact that you have a microservice architecture from the clients. From a backend perspective, you want to split everything into microservices, but from a frontend perspective, you would like all your data to come from a single API. Using GraphQL is the best way I know of that lets you do both. It lets you split up your backend into microservices, while still providing a single API to all your application, and allowing joins across data from different services.
If you don't want to use REST for your microservices, you can of course have each of them have its own GraphQL API, but you should still have an API gateway. The reason people use API gateways is to make it more manageable to call microservices from client applications, not because it fits well into the microservices pattern.
From Stack Overflow: asked by Fabrizio Fenoglio, answered by helfer (CC BY-SA 3.0)
When do I use path parameters vs. query parameters in a RESTful API?REST APIs
TL;DR: The best practice for RESTful API design is that path parameters are used to identify a specific resource or resources, while query parameters are used to sort/filter those resources.
Here's an example. Suppose you are implementing RESTful API endpoints for an entity called Car. You would structure your endpoints like this:
GET
/cars
GET/cars/:id\ POST/cars\ PUT/cars/:id\ DELETE/cars/:idThis way, you are only using path parameters when you are specifying which resource to fetch, but this does not sort/filter the resources in any way.
Now suppose you wanted to add the capability to filter the cars by color in your GET requests. Because color is not a resource (it is a property of a resource), you could add a query parameter that does this. You would add that query parameter to your GET
/carsrequest like this:GET
/cars?color=blueThis endpoint would be implemented so that only blue cars would be returned.
We can add more filtering parameters using the
&symbol:GET
/cars?color=blue&brand=ferrariAs far as syntax is concerned, your URL names should be all lowercase. If you have an entity name that is generally two words in English, you would use a hyphen to separate the words, not camel case.
Example
/two-wordsFrom Stack Overflow: asked by cosbor11, answered by Mike (CC BY-SA 4.0)
NodeJS often uses a callback pattern where if an error is encountered during execution, this error is passed as the first argument to the callback. What are the advantages of this pattern?Node.jsIntermediate
Advantages include:
- Not needing to process data if there is no need to even reference it
- Having a consistent API leads to more adoption
- Ability to easily adapt a callback pattern that will lead to more maintainable code
As you can see from below example, the callback is called with null as its first argument if there is no error. However, if there is an error, you create an Error object, which then becomes the callback's only parameter. The callback function allows a user to easily know whether or not an error occurred.
This practice is also called the Node.js error convention, and this kind of callback implementations are called error-first callbacks.
var isTrue = function(value, callback) { if (value === true) { callback(null, "Value was true.") } else { callback(new Error("Value is not true!")) } } var callback = function(error, retval) { if (error) { console.log(error) return } console.log(retval) } isTrue(false, callback) isTrue(true, callback) /* { stack: [Getter/Setter], arguments: undefined, type: undefined, message: 'Value is not true!' } Value was true. */Good to hear
- This is just a convention. However, you should stick to it.
From 30 seconds of interviews (MIT)
Can a GraphQL input type inherit from another type or interface?GraphQL
No, the spec does not allow input types to implement interfaces. And GraphQL type system in general does not define any form of inheritance (the
extendskeyword adds fields to an existing type, and isn't for inheritance). The spec is intentionally constrained to stay simple. This means that you're stuck repeating fields across input types.That said, depending on the way you construct your schema, you could build some kind of type transformer that appends the common fields programmatically based on some meta-data, e.g. a directive. Here's one such implementation.
Better yet, you might be able to solve your problem via composition (always keep composition over inheritance in mind). E.g.
input Name { firstName: String lastName: String } input UserInput { name: Name password: String! } input UserChangesInput { name: Name id: ID! password: String }The client now has to send an object a level deeper, but that doesn't sound like much of a price for avoiding big repeating chunks. It might actually be good for the client as well, as they can now have common logic for building names, regardless of the query/mutation using them.
In this example, where it's only 2 simple fields, this approach is an overkill, but in general - I'd say it's the way to go.
From Stack Overflow: asked by kyrisu, answered by kaqqao (CC BY-SA 4.0)
Have you ever taken the initiative?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Backend EngineerWeekday, Delhi NCR, on-siteToday
- Backend DeveloperAarvexa, Remote in India +1Today
- Senior Software Engineer - PA183ZoomInfo Technologies LLC, Bengaluru, on-site2 days ago
- Senior Analyst - Actuarial ( Python Developer) Gurgaon (3 to 4 years exp in Automation) - 5 days WFOKipi.bi, Delhi NCR, on-site2 days ago
More like this: Backend developer jobs in India (880) and Remote Backend developer jobs in India (305)



