CENTLy Couchbase Express Node Tested Login. A boilerplate application for building RESTful APIs in Node.js using couchbase, express and Osom.
- Installation
- Preparation
- ENV variables
- License
Clone or Download
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.
- 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 )