Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.35 KB

File metadata and controls

23 lines (19 loc) · 1.35 KB

Node.js Assignments

In this series of assignments, you are going to create native HTTP servers in Node.js which will handle different kinds of application logics.

You are provided empty JavaScript files (or having function signatures) in this directory. You have to follow the instructions given in each file and then run automated tests (also mentioned in each file) to check if you have successfully completed the assignment or you still have few more things to learn in it 😜

Assignments

Recommended order of attempting the assignments.

  1. Todo List App
  2. File Server
  3. Authentication Server

Important Notes

  1. If you are unable to understand the request/response of any assignment file or whatever the way it is being tested, you can take a look at its respective test file present in tests/ directory.
  2. Don't try to make any changes to the test files present in the tests/ directory.
  3. Don't make any changes to the code already present in files including function/method/class signatures and module exports.
  4. To run individual tests -
  • npm run test-fileServer
  • npm run test-todoServer
  • npm run test-authenticationServer

Development Setup

  1. Install the dependencies used by running npm install command in your terminal.
  2. We used 18.x.y Node.js version, if anything doesn't work then please consider upgrading your node installation.