├── .babelrc ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .travis.yml ├── README.MD ├── appspec.yml ├── db.sql ├── deploy.sh ├── execute-deploy.sh ├── index.js ├── package.json ├── pm2.json ├── src ├── client │ ├── css │ │ ├── bootstrap.min.css │ │ └── common.css │ ├── img │ │ ├── icons8-box-16.png │ │ ├── icons8-box-160.png │ │ ├── icons8-box-30.png │ │ ├── icons8-box-40.png │ │ ├── icons8-box-480.png │ │ └── icons8-box-80.png │ ├── js │ │ ├── corporation │ │ │ ├── add.js │ │ │ └── list.js │ │ ├── lib │ │ │ ├── auth.js │ │ │ ├── axios.js │ │ │ ├── common.js │ │ │ ├── navbar.js │ │ │ └── pager.js │ │ ├── main.js │ │ ├── product │ │ │ ├── category.js │ │ │ ├── categoryAdd.js │ │ │ ├── product.js │ │ │ └── productList.js │ │ ├── qty │ │ │ ├── histroy.js │ │ │ └── list.js │ │ ├── static │ │ │ └── product │ │ │ │ └── list.js │ │ ├── update.js │ │ └── user │ │ │ ├── find.js │ │ │ ├── login.js │ │ │ ├── register.js │ │ │ ├── reset.js │ │ │ └── validate.js │ └── views │ │ ├── corporation │ │ ├── add.ejs │ │ └── list.ejs │ │ ├── footer.ejs │ │ ├── header.ejs │ │ ├── main.ejs │ │ ├── nav.ejs │ │ ├── product │ │ ├── category.ejs │ │ ├── categoryAdd.ejs │ │ ├── product.ejs │ │ └── productList.ejs │ │ ├── qty │ │ ├── history.ejs │ │ └── list.ejs │ │ ├── static │ │ └── product │ │ │ └── list.ejs │ │ ├── update.ejs │ │ └── user │ │ ├── find.ejs │ │ ├── login.ejs │ │ ├── register.ejs │ │ ├── reset.ejs │ │ └── validate.ejs └── server │ ├── config.smaple.js │ ├── controll │ ├── productControll.js │ ├── staticControll.js │ ├── userContorll.js │ └── utillControll.js │ ├── db │ ├── productDb.js │ ├── userDb.js │ └── utillDb.js │ ├── index.js │ ├── lib │ ├── auth.js │ ├── common.js │ ├── email.js │ ├── mysql.js │ └── security.js │ ├── model │ └── payload.js │ └── router │ ├── index.js │ ├── main.js │ ├── product.js │ ├── static.js │ ├── user.js │ └── utill.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/README.MD -------------------------------------------------------------------------------- /appspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/appspec.yml -------------------------------------------------------------------------------- /db.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/db.sql -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/deploy.sh -------------------------------------------------------------------------------- /execute-deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | /home/totomung08/app/deploy.sh -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | require('./src/server') 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/package.json -------------------------------------------------------------------------------- /pm2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/pm2.json -------------------------------------------------------------------------------- /src/client/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/css/bootstrap.min.css -------------------------------------------------------------------------------- /src/client/css/common.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/css/common.css -------------------------------------------------------------------------------- /src/client/img/icons8-box-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/img/icons8-box-16.png -------------------------------------------------------------------------------- /src/client/img/icons8-box-160.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/img/icons8-box-160.png -------------------------------------------------------------------------------- /src/client/img/icons8-box-30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/img/icons8-box-30.png -------------------------------------------------------------------------------- /src/client/img/icons8-box-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/img/icons8-box-40.png -------------------------------------------------------------------------------- /src/client/img/icons8-box-480.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/img/icons8-box-480.png -------------------------------------------------------------------------------- /src/client/img/icons8-box-80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/img/icons8-box-80.png -------------------------------------------------------------------------------- /src/client/js/corporation/add.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/corporation/add.js -------------------------------------------------------------------------------- /src/client/js/corporation/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/corporation/list.js -------------------------------------------------------------------------------- /src/client/js/lib/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/lib/auth.js -------------------------------------------------------------------------------- /src/client/js/lib/axios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/lib/axios.js -------------------------------------------------------------------------------- /src/client/js/lib/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/lib/common.js -------------------------------------------------------------------------------- /src/client/js/lib/navbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/lib/navbar.js -------------------------------------------------------------------------------- /src/client/js/lib/pager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/lib/pager.js -------------------------------------------------------------------------------- /src/client/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/main.js -------------------------------------------------------------------------------- /src/client/js/product/category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/product/category.js -------------------------------------------------------------------------------- /src/client/js/product/categoryAdd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/product/categoryAdd.js -------------------------------------------------------------------------------- /src/client/js/product/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/product/product.js -------------------------------------------------------------------------------- /src/client/js/product/productList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/product/productList.js -------------------------------------------------------------------------------- /src/client/js/qty/histroy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/qty/histroy.js -------------------------------------------------------------------------------- /src/client/js/qty/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/qty/list.js -------------------------------------------------------------------------------- /src/client/js/static/product/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/static/product/list.js -------------------------------------------------------------------------------- /src/client/js/update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/update.js -------------------------------------------------------------------------------- /src/client/js/user/find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/user/find.js -------------------------------------------------------------------------------- /src/client/js/user/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/user/login.js -------------------------------------------------------------------------------- /src/client/js/user/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/user/register.js -------------------------------------------------------------------------------- /src/client/js/user/reset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/user/reset.js -------------------------------------------------------------------------------- /src/client/js/user/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/js/user/validate.js -------------------------------------------------------------------------------- /src/client/views/corporation/add.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/corporation/add.ejs -------------------------------------------------------------------------------- /src/client/views/corporation/list.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/corporation/list.ejs -------------------------------------------------------------------------------- /src/client/views/footer.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/footer.ejs -------------------------------------------------------------------------------- /src/client/views/header.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/header.ejs -------------------------------------------------------------------------------- /src/client/views/main.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/main.ejs -------------------------------------------------------------------------------- /src/client/views/nav.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/nav.ejs -------------------------------------------------------------------------------- /src/client/views/product/category.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/product/category.ejs -------------------------------------------------------------------------------- /src/client/views/product/categoryAdd.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/product/categoryAdd.ejs -------------------------------------------------------------------------------- /src/client/views/product/product.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/product/product.ejs -------------------------------------------------------------------------------- /src/client/views/product/productList.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/product/productList.ejs -------------------------------------------------------------------------------- /src/client/views/qty/history.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/qty/history.ejs -------------------------------------------------------------------------------- /src/client/views/qty/list.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/qty/list.ejs -------------------------------------------------------------------------------- /src/client/views/static/product/list.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/static/product/list.ejs -------------------------------------------------------------------------------- /src/client/views/update.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/update.ejs -------------------------------------------------------------------------------- /src/client/views/user/find.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/user/find.ejs -------------------------------------------------------------------------------- /src/client/views/user/login.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/user/login.ejs -------------------------------------------------------------------------------- /src/client/views/user/register.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/user/register.ejs -------------------------------------------------------------------------------- /src/client/views/user/reset.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/user/reset.ejs -------------------------------------------------------------------------------- /src/client/views/user/validate.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/client/views/user/validate.ejs -------------------------------------------------------------------------------- /src/server/config.smaple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/config.smaple.js -------------------------------------------------------------------------------- /src/server/controll/productControll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/controll/productControll.js -------------------------------------------------------------------------------- /src/server/controll/staticControll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/controll/staticControll.js -------------------------------------------------------------------------------- /src/server/controll/userContorll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/controll/userContorll.js -------------------------------------------------------------------------------- /src/server/controll/utillControll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/controll/utillControll.js -------------------------------------------------------------------------------- /src/server/db/productDb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/db/productDb.js -------------------------------------------------------------------------------- /src/server/db/userDb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/db/userDb.js -------------------------------------------------------------------------------- /src/server/db/utillDb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/db/utillDb.js -------------------------------------------------------------------------------- /src/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/index.js -------------------------------------------------------------------------------- /src/server/lib/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/lib/auth.js -------------------------------------------------------------------------------- /src/server/lib/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/lib/common.js -------------------------------------------------------------------------------- /src/server/lib/email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/lib/email.js -------------------------------------------------------------------------------- /src/server/lib/mysql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/lib/mysql.js -------------------------------------------------------------------------------- /src/server/lib/security.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/lib/security.js -------------------------------------------------------------------------------- /src/server/model/payload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/model/payload.js -------------------------------------------------------------------------------- /src/server/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/router/index.js -------------------------------------------------------------------------------- /src/server/router/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/router/main.js -------------------------------------------------------------------------------- /src/server/router/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/router/product.js -------------------------------------------------------------------------------- /src/server/router/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/router/static.js -------------------------------------------------------------------------------- /src/server/router/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/router/user.js -------------------------------------------------------------------------------- /src/server/router/utill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/src/server/router/utill.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomochandv/inventory/HEAD/webpack.config.js --------------------------------------------------------------------------------