Express.js application with EJS template engine
Users can view, create, edit, and delete(with secret password) both inventory categories and items.
- set node version in
package.json
eg:
"engines": {
"node": ">=16.17.1"
},
- database configuration
const mongoDB = process.env.MONGODB_URI || dev_db_url;
-
install dependencies and test
npm install
-
save changes to github
-
start deploying from railway(deploy directly from git repo branch)
-
connect a mongo db instead of using dev one