Node.js Backend and API Developer Needed
$8-15 USD / hour
Description
I have a small Node/Docker application which does not work if the MongoDB library is included. Structure of the application is:
Node Express application - Exposes a few simple test API endpoints.
Docker - The Node application runs in a Docker container
MongoDB Atlas - Currently this is *not* included but it is the objective of this work. I want the Node application to make a connection to MongoDB using the *native Mongo* driver. NOT Mongoose.
NodeMon - Project is setup with file monitoring to save development time. Also, the Visual Studio debugger is enabled and appears to be working well.
Here is a link to a Visual Studio project which contains a test version of the application error. It has had files removed for security and to reduce the file size. Here’s some rough instructions, I’m not a Node/Docker expert but this should get you going. [login to view URL]
1 - Download and uncompressed the Visual Studio zip file
2 - Open the workspace in Visual Studio
3 - Open a new terminal window in the project root folder and run "docker compose build" to the project
4 - Run ‘docker compose up’ to run the project
You’re objective is to:
1 - Remove the "//const MongoClient = require("mongodb").MongoClient;” line
2 - Run ‘docker compose up’ to start the code
3 - Fix the code so it does not crash
4 - Demonstrate a working connection between the application and a remote Mongo Atlas database (you will need to create one yourself or point to one). The data does not matter, I just need to see examples of: a) A READ query, b) An UPDATE query, c) A CREATE new record query
Error
See this file for a description of the error which needs to be fixed - [login to view URL]
Debugging
The application connects to a remote Mongo Atlas database correctly if the code is run outside the container. I’ve developed a simple Mongo connection js file which tests this. The output is shown here - [login to view URL]
Also, here is a screenshot of a sample GET call to the API endpoint using Postman. This call works when the Mongo library is commented out in the [login to view URL] file. [login to view URL]
I’ve also checked the Mongo library is present within the running Docker container. This has been done by looking at the file system of the Node app within Docker Desktop. [login to view URL]
NOTE - I have deleted the node_modules folder to reduce the size of the sample application for upload. The Docker compose process should rebuild this.
Deliverables
A working Visual Studio project which allows the Node application to connect with a remote Atlas hosted Mongo database. Importantly, the Node application must be hosted in a Docker container.
Timescale
I expect this should be a very simple task for an experienced Node/Docker/Mongo developer. Including time for Q&A and setup I’m thinking this is no more than a couple of hours work. If you disagree please do not waste time responding.
Skills Needed
You will have strong experience in Node/Express, Docker, Mongo, NodeMon. You will be self sufficient and able to work without extensive supervision. Good communication and English skills are essential.
Project ID: #38079946
About the project
Awarded to:
129 freelancers are bidding on average $14/hour for this job
Hi Good afternoon , I have read the brief details on your job listing . I see you have been looking for someone experienced with Node.js, Visual Studio, Docker, MongoDB and Docker Compose. Its been 8 years since I have More
Hey? I’m excited to tackle the integration of MongoDB with your Node/Docker application! ? I've successfully resolved similar issues before by setting up MongoDB connections within Dockerized environments using the na More
As a seasoned Full-Stack Developer with a solid command of Node.js, MongoDB, and the Docker workflow, I am confidently equipped to handle your issues effectively within the required brisk timeline. My eclectic skill se More
Hello Bill, I'm Alexander, a seasoned full-stack developer with the professional years of experience. I can do your job completely. Thanks for posting your job. Alexander
Hi, As a seasoned Node.js backend developer with extensive knowledge of Docker and MongoDB, I am perfectly equipped to tackle the challenges your project presents. With a solid 10-year background in software developme More
Hi, I have thoroughly reviewed your requirements and am confident in my ability to resolve the issues with your Node/Docker application and establish a connection to MongoDB Atlas. With my expertise in Node/Express, More
Hello, I just finished reading the brief details of your job and I am confident that I can deliver the results you need for your project with the same level of professionalism and expertise. I am an expert developer More
Hello, I have extensive experience in Node/Express, Docker, and MongoDB, which makes me well-suited to tackle your project efficiently. Based on the provided information and error description, it seems like the issue More
Hi, I have experience working with nodejs & docker. Can we have a quick connect here & I can check issue on your system remotely. Thank you.
Hello, my name is Ritik Garg and I am a Full-Stack/Backend Developer with 5 years of experience working with Python, Django, Restful APIs, Data Mining, Flask, Scrapy, Selenium, Flask, Node JS, Angular, React, AWS, DevO More
Hi there, I'm thrilled to apply for your Node.js Backend and API Developer Needed project. With 4-5 years of experience in Node.js, Docker Compose, Visual Studio, MongoDB and Docker, I'm confident in my ability to bri More
Hiring Team, I am Amit Sharma, an accomplished Full Stack Developer with a rich background of over 5 years in creating sophisticated and robust solutions. My expertise spans a wide array of technologies, showcasing pr More
Hello there. We have completely understood the issue and we can resolve this issue within 3-4 hours. We can start right now. Please initiate the chat. Thanks.
As a seasoned developer with a strong background in Node.js, Docker and MongoDB, I am confident that I am the perfect fit for your project. My proficiency in critical libraries like Mongoose gives me an edge as I have More