Go to root directory Run "npm init -y" Update package.json with: "start":"node server.js" Run "npm install express sequelize mysql2 dotenv bcrypt express-handlebars express-session connect-session-sequelize" After creating the schema.sql, do this:
- From root directory, type "mysql -u root -p"
- Create the database: "source db/schema.sql"
- Confirm it worked: "show databases;"
- Type "quit" and press Enter
To perform TDD (Test-Driven Development):
- Type "npm i jest -D"
- Update package.json: "test": "jest"
- Type "npm run test" to do the testing