In the project directory : Run npm install Installs all dependecies required for the app. Connect to local or remote MongoDB Database Run npm run dev Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.