/NodeJS-BlogApplication

Web Technologies - Coursework #2 submission

Primary LanguageJavaScript

Thornewill-Von-Essen_Oliver_set08101_coursework2

Thornewill von Essen_Oliver Coursework #2 submission

This blog application allows at least one user to create, update, delete, and read blog posts. There is an antuentication tool implemented such that only users which are authenticated are allowed to create, update, or delete posts. There is a registration and login form for the authentication.

A note on security

I appreciate that GitHub automatically check libraries used against disclosed vulnerabilities. It definitely helps towards secure software development, and avoiding security breaches through outdated libraries. Meanwhile I'm getting a lot of reports from GitHub that many libraries used are indeed vulnerable. However, I would like to note that I am not able to maintain this code at this point of time, so I would like to make you aware that this application should be tested - if not updated - for security vulnerabilities before deployment. Thanks for stopping by!

How to run:

Must be in root directory of repository

pwd
./NodeJS-BlogApplication

Command to setup node modules and start server:

cd BlogApplication/ && npm install && cd angular-src/ && npm install && node ../app.js

This can take a couple of minutes to run.

Final Terminal outpuut should be:

Server started on  port: 3000
Connected to database mongodb://localhost/blogs

Note:

  • Node version: v8.11.0
  • NPM version: 5.8.0
  • I used Linux Mint 18.04 for the creation of this application