770 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			770 B
		
	
	
	
	
	
	
	
title
| title | 
|---|
| Serve Static Assets | 
Serve Static Assets
Static webpages are fairly simple with express. This could be useful for building your own portfolio website or blog, etc.
To serve a static webpage from the "views" folder you can use code such as:
 const express = require("express");
 const app = express();
 app.use(express.static(__dirname + "/views"));