Starting application

upon doing npm start, the file is getting crashed and it’s showing this this:

server@1.0.0 start /home/ankit/Desktop/mflix-js
nodemon -L ./index.js

[nodemon] 1.18.10
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node ./index.js
MongoParseError: URI malformed, cannot be parsed
at parseConnectionString (/home/ankit/Desktop/mflix-js/node_modules/mongodb-core/lib/uri_parser.js:407:21)
at connect (/home/ankit/Desktop/mflix-js/node_modules/mongodb/lib/operations/mongo_client_ops.js:188:3)

Unsupported directory

Atom does not support managing Git repositories in your home or root directories.

please help

As the error message indicate the uri of your cluster is not set properly in the config file.

Look for dotenv_unix (or dotenv_win if you struggle on windows - This is the config file for connection) file in the root of your downloaded project, in the line 5 (or so) find the “MFLIX_DB_URI” and you’ll see a place to change and personalize your URI with the code you’ve generated when you built your cluster.
My personal string : MFLIX_DB_URI=mongodb+srv://m220student:m220password@mflix-*****

Edit: dont forget to change the config file name to {{ .env }} after downloading all stuff to the project.