Find Jobs
Hire Freelancers

NodeJS/Javascript Help to implement a function which result depending of different criteria

€30-250 EUR

Cancelled
Posted over 3 years ago

€30-250 EUR

Paid on delivery
Hello, This project is for someone which can help via TeamViwer/AnyDesk and on a budget of 50E in case to discuss if there are solid reasons to change. The issue I have is about this [login to view URL] I have to build a function which takes 2 params and on that return based on criteria: My trying [login to view URL] Criteria: // 1. is default, same country, active // 2. is default, same country, inactive // 3. is default, any country, active // 4. is default, any country, inactive // 5. sites(active).length === 1 // 6. undefined The result of this function is a siteId based on those criteria. Number 5 means if default is false every where but we have one active site and we choose that one Number 6 is just a return in case no one of the criteria is fulfill means an empty result {} Sites is an array of OBJ [login to view URL] In this OBJ example is missing status which can be ACTIVE or INACTIVE I forgot to result it when I copy/paste. What I need a solution to those criteria based on that array of OBJ and locale data. Thanks
Project ID: 28367143

About the project

14 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
14 freelancers are bidding on average €82 EUR for this job
User Avatar
Hi there, I have 4+ years of experience developing web applications and APIs with various tools and technologies. I can write a function which returns the expected result. Drop me a message to get started. Thanks
€50 EUR in 1 day
5.0 (9 reviews)
5.7
5.7
User Avatar
Hello ! When reviewing the job description, I felt I was a great fit for this role. I have extensive knowledge of front-end JavaScript and browser APIs as well as significant experience with popular frameworks and libraries like JavaScript,React.js My deep full-stack experience includes Node.js and Express, MongoDB as well as more traditional technologies like PHP/Laravel, and MySQL. I’m ready to discuss your project and start immediately. I 'm looking forward to helping you grow your business by sharing my experiences. Thank you. Pavel.
€140 EUR in 1 day
5.0 (13 reviews)
5.1
5.1
User Avatar
Hello, I have read your job details and criteria and understand the requirements necessary for this project. I have solid experience of the stack of technologies required for this project. I have bit questions according to the project. Contact me via chat. Thanks.
€200 EUR in 7 days
5.0 (1 review)
4.3
4.3
User Avatar
Hi Jakub, I am experienced in node js too and you are already familiar with my problem solving abilities. I can definitely help you in your budget. Let's begin!
€50 EUR in 1 day
5.0 (35 reviews)
4.3
4.3
User Avatar
HI, i can help you to create that function. please come over chat and discuss in some details. Thanks.
€50 EUR in 1 day
5.0 (10 reviews)
3.9
3.9
User Avatar
hi mate, I am professional freelancer, I have worked with "heavenya" as the backend developer, I have worked with API's endpoint(node js +express+ mongo db) and socket's event(socket io) as well. I have seen the code and analysed the requirements, I think I can provide you the best solution for your work on time. you can contact me on private chat for more details.
€40 EUR in 1 day
5.0 (9 reviews)
4.0
4.0
User Avatar
Hello, My understanding is you want to check values progressively to get final value based on the condition on previous values. I can help you achieve this. Please ping for further details. Thanks.
€100 EUR in 1 day
5.0 (9 reviews)
3.3
3.3
User Avatar
Hi I checked your description, I guess you just want to implement a if-else clause to return different result. Although I'm not clear what siteId you gonna return base on different condition. But what you can do is using switch/if-else/ternary operator to implement it. I can help you on that, we can set up a call, once I understand what the logic it is, I can implement it and try to explain to you the reason if you want. Thanks.
€50 EUR in 3 days
5.0 (1 review)
2.7
2.7
User Avatar
Hi I am a Mean and Mern stack developer, and worked on several e-commerce projects. I have hands experience with building Restful Api, making logic controllers. I have read your requirement and found my skill set fit to the same. Thanks
€70 EUR in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hi, I already did this. but you need to test my code. :3
€70 EUR in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of DENMARK
København, Denmark
5.0
27
Payment method verified
Member since May 22, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.