express-oracle-session2

1.0.2 • Public • Published

express-oracle-session2

This library provides Oracle session storage for Express. It is built based on express-oracle-session.

Compatible with node-oracledb 5.0.0.

Installation

  • Install prerequisites of node-oracledb
  • npm install express-oracle-session2

Configuration

  • Need to set configuration for testings and example
  • Edit config-template.js as config.js and configure parameters for testings

Example

  • 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

Tests

  • Only test database functions in db.js
  • Run npm test

Reference

Readme

Keywords

Package Sidebar

Install

npm i express-oracle-session2

Weekly Downloads

7

Version

1.0.2

License

MIT

Unpacked Size

25.2 kB

Total Files

10

Last publish

Collaborators

  • ghc20