Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 464 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 464 Bytes

172project

Instructions:

  1. Verify Node and NPM installations:

    • node -v
    • npm -v
  2. Have a suitable database created in mySQL

  3. Clone repository

  4. install required packages:

    • npm install express mysql2 dotenv body-parser
    • npm install express-session bcrypt
  5. add .env file:

    DB_HOST=localhost
    DB_USER=root
    DB_PASSWORD=<your mySQL password>
    DB_NAME=<your db name>
    
  6. Start project with node app.js