sharonNissanov / Web-server

Creating a HTTP server that serves the HTML & CSS and sending the information from the frontend to the backend and persisting it-by saving all the data in the 'data.json' file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a Web Server

Creating a HTTP server that serves the HTML & CSS and sending the information from the frontend to the backend and persisting it-by saving all the data in the 'data.json' file.
⚡️ HTML, CSS, Node JS ⚡️
👍 This was developed in the target style of https://glitch.com.
👍 After each time the user clicks "Give Now", the donated amount sent to the web server.
👍 The amount donated and the time of each donation are saved in the 'data.json' file.

Setup & Run

  • Clone or download this repository https://github.com/sharonNissanov/Web-server
  • Run the app in the development mode: in cmd run node server.js to serve the html file.
    Open http://localhost:8080 to view it in the browser.
    The page will reload if you make edits.
    You will also see any lint errors in the console.
    Start donate money and see what you get in the data.json file.

Enjoy 😊

screenshot

About

Creating a HTTP server that serves the HTML & CSS and sending the information from the frontend to the backend and persisting it-by saving all the data in the 'data.json' file.


Languages

Language:HTML 83.6%Language:JavaScript 16.0%Language:PHP 0.4%