run mongodb on windows code example
Example: windows start mongodb server
// Add the folder containing mongod to your PATH variable (see source for how)
// usually located here: 'C:\Program Files\MongoDB\Server\4.4\bin'
// open cmd.exe and run this command;
start mongod