lnsp / nodejs-guestbook

A guestbook implementation using Express, mongo and pug.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A guestbook implementation using Express, mongo and pug.

License:MIT License


Languages

Language:HTML 74.2%Language:JavaScript 19.8%Language:CSS 5.1%Language:Dockerfile 0.8%