/nodejs-guestbook

A guestbook implementation using Express, mongo and pug.

Primary LanguageHTMLMIT LicenseMIT

nodejs-guestbook

A simple web guestbook build using NodeJS, the Express web framework, Bootstrap 4 and MongoDB.

Installation

$ git clone https://github.com/lnsp/nodejs-guestbook
$ cd nodejs-guestbook
$ npm install

Running the server

$ export PORT=8080 # set the http port
$ export DATABASE_URL="mongodb://my-database:27017/guestbook" # set the database url
$ npm start