# To serve index.html by default at http://:8000/ # 1. Open terminal in the folder containing index.html (e.g., sparkApp/frontend) # 2. Run this command: pm2 start http-server --name "http-server" -- -p 8000 --index index.html create password : node -e "require('bcrypt').hash('555',10).then(h=>console.log(h))" comapre password: node -e "require('bcrypt').compare('555','$2b$10$fx.orv.aXBHcCeYYQ1HwEONCsWuPV5YzXamQnZcl.dQ9.JyCtjARC-').then(r=>console.log(r))"