Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.
/ express-domino-nsf Public archive

An example Express app to connect via npm/domino-nsf and access Views and Documents via separately managed routes.

License

Notifications You must be signed in to change notification settings

edm00se/express-domino-nsf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Domino-NSF

This is a project which makes use of the domino-nsf package from npm (the source of which is nthjelme/nodejs-domino on GitHub).

It creates a Node + Express app which reads, using the user's client Notes session, a given NSF's given View or given Documents, returning JSON formatted data.

Installation

You must have IBM Notes installed and a properly configured Notes ID, with permissions to the NSF. The dependent domino-nsf package, which does the heavy lifting, still creates a Notes/Domino session, utilizing the C++ API.

Usage

This currently requires Node v5, 32-bit arch. If you're a v4 LTS hold out like myself, installing and using nvm-windows (a Windows version of nvm) is fairly easy and efficient to switching versions.

  1. run from a machine with a working Notes installation (tested with Notes 9.0.1 FP5 on Windows)
  2. clone down a copy of this project from GitHub git clone https://github.com/edm00se/express-domino-nsf.git
  3. change the database and server properties by either
  • changing their values in config/index.js or
  • setting the DOM_SRV and DOM_DB environment variables, respectively (they will be picked up by the Node server instance)
  1. fill in your endpoint usage instructions to the public/readme.html file
  2. install dependencies, via npm install
  3. run the server instance via node server.js (or npm start); the port it will run on is either from what it receives in the PORT environment variable or it will default to port 3333

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

License

The MIT License (MIT)

About

An example Express app to connect via npm/domino-nsf and access Views and Documents via separately managed routes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published