1. MongoDB database.
2. Node v11+.
- Create file called
config.json
in project's root directory.
{
"port": "2452",
"mongo": {
"ip": "127.0.0.1:27017",
"database": "nmbin",
"username": "Nimplex",
"password": "password",
"authDatabase": "admin"
}
}
- Install all dependencies.
npm install --save
- Build code.
npm run build
- Run server.
node dist/server.js