- Fork
- git clone
git remote https://github.com/elliotcs30/movie-express-grading.git
npm install
"node.js": "14.16.0" // 若系統為 mac M1 chip 請升為 v16
"express": "4.17.1"
"express-handlebars": "5.3.3"
"method-override": "3.0.0"
"nodemon": "2.0.12"
"mysql2": "2.3.0"
"sequelize": "6.6.5"
"sequelize-cli": "6.2.0"
"express-session": "1.17.2"
"passport": "0.4.1"
"passport-local": "1.0.0"
"bcryptjs": "2.4.3"
"faker": "5.5.3"
"connect-flash": "0.1.1"
"dayjs": "1.10.6"
"multer": "1.4.3"
"imgur": "1.0.2"
"dotenv": "10.0.0"
"eslint": "7.32.0"
"eslint-config-standard": "16.0.3"
"eslint-plugin-import": "2.23.4"
"eslint-plugin-node": "11.1.0"
"eslint-plugin-promise": "5.1.0"
"chai": "4.3.4"
"mocha": "9.1.1"
"sinon": "11.1.2"
"supertest": "6.1.6
Bootstrap 5.0.2 (CDN)
popper.js 2.9.2 (CDN)
需要與 config/config.json 一致
create database movies;
npm run test
可使用下方 2 組帳號登入系統:
- 第一組帳號有 admin 權限:
- email: [email protected]
- password: 12345678
- 第二組帳號沒有 admin 權限:
- email: [email protected]
- password: 12345678