/garden-inventory

garden inventory app using Express.js and EJS template engine

Primary LanguageJavaScript

garden-inventory

Express.js application with EJS template engine

Users can view, create, edit, and delete(with secret password) both inventory categories and items.

prepare deployment - deployment branch

  1. set node version in package.json eg:
"engines": {
    "node": ">=16.17.1"
  },
  1. database configuration
const mongoDB = process.env.MONGODB_URI || dev_db_url;
  1. install dependencies and test npm install

  2. save changes to github

  3. start deploying from railway(deploy directly from git repo branch)

  4. connect a mongo db instead of using dev one