- Theory - v8 engine, general explanation.
- How node works
- Use cases and companies using node.
- Node install
- node module system:
- Path
- OS
- FS
- HTTP
- Theory - What is a server
- HTTP/S protocol
- http.createServer
- req/res:
- query params
- body
- writeHead
- status codes
- write
- listen
HTTP - until minute 16:20
End product - a system consisting of a client side and a server side that aims to check whether the client is allowed to enter the Cyber4s course.
The customer side will contain a form which contains the following details:
- Name
- Age
- Ability (Must have at least one ability)
- please use axios to send the data to your server side when submitting the form
On the server side you will find a DB file which will simulate working with a database. The file contains an object with restrictions on who can enter the course. Create an http server that will receive the POST request from the customer and reply to it according to the data if he is allowed to enter the course or not.
- Please clone this repo to get th db.js file
Please submit your project repo in the classroom