Created
September 20, 2022 03:42
-
-
Save Octagon-simon/bedd0401d3bf9f3bf18802c1934b1f80 to your computer and use it in GitHub Desktop.
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
| //route to homepage | |
| app.get( '/', (req, res) => { | |
| //render the template for the homepage | |
| res.render('home'); | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment