Skip to content

CENTLy Couchbase Express Node Tested Login. A boilerplate application for building RESTful APIs in Node.js using express and Osom ODM.

License

Notifications You must be signed in to change notification settings

dune44/CENTLY-Boilerplate

Repository files navigation

CENTLY-Boilerplate

CENTLy Couchbase Express Node Tested Login. A boilerplate application for building RESTful APIs in Node.js using couchbase, express and Osom.

TOC

  1. Installation
  2. Preparation
  3. ENV variables
  4. License

Installation

Clone or Download

Preparation

For dev Testing: Create a .config folder to store ENV files, I have set this up to take dev.env and test.env repectively.

For Production: Make sure your server is setup with the necessary ENV vars.

ENV variables

  • PORT ( port for dev/testing server )
  • ADDRESS ( your machine ip or put localhost )
  • COUCHBASE_URL ( address to your couchbase test db server )
  • DB_USERNAME ( Couchbase account with permission to you DB )
  • DB_PASSWORD ( Couchbase account password )
  • BUCKET ( this should be different buckets based on dev or test scenario )
  • JWT_SECRET ( this can be any secret, just don't tell anyone )
  • NODE_ENV ( set to dev or test respectively ) Email Variables
  • emailHost ( SMTP Email Host )
  • emailPort ( SMTP Email Port )
  • emailSecure ( Boolean true for 465 port, otherwise false )
  • emailUsername ( Your Email server username )
  • emailPassword ( Your Email server password )

License:

About

CENTLy Couchbase Express Node Tested Login. A boilerplate application for building RESTful APIs in Node.js using express and Osom ODM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published