GithubHelp home page GithubHelp logo

myfirstbackend's Introduction

NODE + WEB SERVER

Node

  • Theory - v8 engine, general explanation.
  • How node works
  • Use cases and companies using node.
  • Node install
  • node module system:
  1. Path
  2. OS
  3. FS
  4. HTTP

Web Server

  • Theory - What is a server
  • HTTP/S protocol
  • http.createServer
  • req/res:
  1. query params
  2. body
  • writeHead
  • status codes
  • write
  • listen

Resources:

Nodejs

Web Server

HTTP - until minute 16:20

Task:

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.

front

The customer side will contain a form which contains the following details:

  1. Name
  2. Age
  3. Ability (Must have at least one ability)
  • please use axios to send the data to your server side when submitting the form

back

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

Submitting the work:

Please submit your project repo in the classroom

myfirstbackend's People

Contributors

dimatomilin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.