- containerization (see
docker-compose.ymlanddockerfolder) - replace
SQLitewithMySQL - store sessions in
Redis - bug-fix:
change passwordwas not working - create 2x tests to validate
change passwordfunctionality - major version upgrade for
mocha(because it was not working with Node.js 14.x) - refactor boostrap for tests (after upgrade)
- critical bug-fix:
New Note&Edit Notewere crashing node.js process when no pad was selected - complete re-design for db fixtures. Removed all SQL statements and replaced with ORM methods
- fix mysql columns:
created_atandupdated_at. Initialize them in the app because of ORM library limitation - add convenience
scriptsinpackage.json - fix
Mixed Contenterrors generated by pages loaded over HTTPS
docker-compose run --rm notejam npm installsleep 15; # wait for mysql server to start
docker-compose run --rm notejam npm run init-db -- --create-test-dbStart the app - http://127.0.0.1:3000/
docker-compose up -ddocker-compose run --rm notejam npm testdocker-compose down