This guide will take you step by step on how to create your project and deploy using MDB CLI.
In order to initialize npm project use the following command:
$ mdb blank init
Enter project location
Install any npm package you want to use, i.e. express
$ npm install express --save
Open project in editor (i.e. VS Code), create index.js and code your app. Once it's ready you can publish it now:
Once you finish building your project, use the following command to deploy it:
$ mdb backend publish -p node12
Done! Your project will be ready. If you want to check project
console use
mdb logs
command.