- containerization (see
docker-compose.yml
anddocker
folder) - replace
SQLite
withMySQL
- store sessions in
Redis
- bug-fix:
change password
was not working - create 2x tests to validate
change password
functionality - 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 Note
were 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_at
andupdated_at
. Initialize them in the app because of ORM library limitation - add convenience
scripts
inpackage.json
- fix
Mixed Content
errors generated by pages loaded over HTTPS
docker-compose run --rm notejam npm install
sleep 15; # wait for mysql server to start
docker-compose run --rm notejam npm run init-db -- --create-test-db
Start the app - http://127.0.0.1:3000/
docker-compose up -d
docker-compose run --rm notejam npm test
docker-compose down