Deploying Node, MongoDB and React App to DO.

Posted January 3, 2021 1.3k views
MongoDBNode.jsReactDigitalOcean App Platform

I have an app in which I am using Node.js and MongoDB in the backend and React in the frontend (and auth0). And I am having trouble deploying using Digital Ocean.

I followed this page here, but when I get to the Configure Your App part (Step ¾), it doesn’t detect anything. I was wondering if someone can help me with it. Thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi @abidishajia,

It’s a bit hard to troubleshoot without additional info but as a first step, make sure your repo contains a package-lock.json or yarn.lock (generated by either npm or yarn). This is required for Node.js apps on App Platform.

If that’s not the issue could you please your GitHub repo if it is public?

I do have package-lock.json. Here is my GitHub repo: