This library provides Oracle session storage for Express. It is built based on express-oracle-session.
Compatible with node-oracledb 5.0.0.
- Install prerequisites of node-oracledb
npm install express-oracle-session2
- Need to set configuration for testings and example
- Edit config-template.js as config.js and configure parameters for testings
- Start with
npm run example
- Open link http://127.0.0.1:3001/
- Check if a new session is stored in Oracle table EXAMPLE_SESSIONS_TEST
- Edit session config in example/example.js testing different scenarios
- Only test database functions in db.js
- Run
npm test