Skip to content

Nodejs server framework used in Programmeren 4 course.

Notifications You must be signed in to change notification settings

TimWelter/node-basic-server

 
 

Repository files navigation

node-basic-server

A basic Nodejs server framework used in the Programmeren 4 course. The repo contains branches for each of the lessons.

This basic server contains:

  1. Express routing and error handling via next()
  2. JavaScript classes for OO-like programming
  3. Many async functions illustrating async behavior of Nodejs
  4. JWT authentication
  5. Extensive validation of properties through asserts
  6. Hashed passwords using bcrypt
  7. Examples of BDD testcases using Mocha, Chai and Should
  8. Tests are run online on Travis CI

Usage

Fork this repo and clone your copy onto your local machine, then run

npm install
npm start

For testing:

npm test

Checking out branches

The different branches contain different parts of the course contents. Check out the highest branch for the latest results. For example:

git clone url-to-your-repo
cd node-basic-server
git checkout les-5

Checking out branches can also be done in your IDE. See Versioncontrol in VS Code or WebStorm.

About

Nodejs server framework used in Programmeren 4 course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%