A basic NodeJS API shell that uses Couchbase for a NoSQL data store.
- Clone the repo to some directory and run
npm install. - Make sure you have Couchbase installed.
- In the config files, make sure you're pointing at the appropriate couchbase cluster(s).
- Open Terminal,
cdto the appropriate directory and runnode server.js. To avoid doing this every time you make a change, use something like nodemon. - To run in a specific configuration, just set the
NODE_ENVbefore running the server i.e.,NODE_ENV=<configuration> node server.js