Created
March 23, 2022 22:40
-
-
Save samuelteixeiras/9ed6cfc779423cefa03637ebbbb9fcf6 to your computer and use it in GitHub Desktop.
express setUp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express') | |
const app = express() | |
// set the public folder, place for static files. | |
app.use(express.static(__dirname + '/public')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment