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 😜
Recommended order of attempting the assignments.
- Todo List App
- File Server
- 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. - Don't try to make any changes to the test files present in the
tests/
directory. - Don't make any changes to the code already present in files including function/method/class signatures and module exports.
- To run individual tests -
- npm run test-fileServer
- npm run test-todoServer
- Install the dependencies used by running
npm install
command in your terminal. - We used
18.x.y
Node.js version, if anything doesn't work then please consider upgrading your node installation.