Skip to content

Contains simple node applications for demonstration purposes

Notifications You must be signed in to change notification settings

antedotee/newton-school-lessons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: If you are not assigned as issue then please don't open a PR on it. This repository is only meant for educational purposes (teaching students github).

Simple Node.js Demo

This repository contains a collection of simple Node.js programs for demonstratin purposes.

Dependency

How to Run

  1. Fork the repository:

    Click on the "Fork" button at the top right corner of this repository to create a copy in your GitHub account.

  2. Clone the forked repository to your local machine:

    git clone https://github.com/your-username/newton-school-lessons.git

    
    
  3. Navigate to the project directory:

    cd newton-school-lessons
  4. Install dependencies for the main application using npm:

    If the express module is required, run the following command in the terminal to dowload/update the modules:

    npm install
  5. Run the main application using Node.js:

    node server.js

    This will start the server, and you should see output indicting that the server is running.

  6. Open your web browser and visit http://localhost:PORT to see the main application in action.

    Note: The default port is set to 3000. If you've configured a diffeent port, replace PORT in the URL with the actual port number.

Folder-Specific Instructions

  1. Explore individual program folders:

    Navigate to each program folder using the cd command:

    cd program1

    bash cd program2

    
    Replace `program1` and `program2` with the actual names of the folders representing individual programs.
    
    
  2. Install dependencies and run each program in its respective folder:

    For each program, run the following commands:

    bash cd program-folder npm install node server.js

    
    Replace `program-folder` with the actual folder nam of the program.
    
    

Notes

  • This is a collection of basic demonstration applications intended for learning purposes.
  • Feel free to explore each program's folder and the server.js file to understand the Node.js code.
  • For more information about Node.js, visit https://nodejs.org/.

About

Contains simple node applications for demonstration purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.3%
  • HTML 28.6%
  • CSS 18.1%