Create a .env.local inside the server directory and give it an entry in followong format
MONGODB_URI='mongodb+srv://<username>:<passswd>@<some_domain>/?retryWrites=true&w=majority'
You will find the above URI in MongoDB Atlas (you'll need to hunt a little for it or create a new cluster if you don't have one).
Alternatively, for local MongoDB server instance
MONGODB_URI='mongodb://0.0.0.0:27017'
Note: Only use 0.0.0.0 for the IP address or MongoDB local server will refuse connections.
You can customize your build script by modifying index.js at the repository root.
You need to run the following based on your requirements:
npm run installinstall all dependenciesnpm run buildgenerate thestaticdirectorynpm startstart the app