Skip to content

rsp/node-express-static-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node express static example

(UPDATE: See node-static-http-servers repo for more examples of serving static files with express.static, express, connect, http and net and better explanation)

Example for Stack Overflow answer:

Also referenced in other Stack Overflow answers:

Installation

clone git repo:

git clone https://github.com/rsp/node-express-static-example.git

or download the ZIP file:

wget https://github.com/rsp/node-express-static-example/archive/master.zip

Inside the project directory run:

npm i

to install dependencies.

Running

node app.js

Issues

For any bug reports or feature requests please post an issue on GitHub.

Author

Rafał Pocztarski
Follow on GitHub Follow on Twitter
Follow on Stack Exchange

License

MIT License (Expat). See LICENSE.md for details.

About

Example for Stack Overflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages