Skip to content

kellymweu/express-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-server

Follow these steps to run the server

  1. Create new directory in vscode terminal to store the server.
  2. New file called helloworld.js and paste the code above into it or download this file.
  3. Within Terminal:
  4. Run npm init to create a package.json file
  5. Run npm install express to import express api handling.
  6. Run node helloworld.js to start listening to the server.
  7. Terminal should return message ‘Example app listening on port 3000!’
  8. Open web browser and go to link http://localhost:3000/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published