Skip to content

Instantly share code, notes, and snippets.

@tbanj
Created October 5, 2024 11:59
Show Gist options
  • Save tbanj/0d5f0bbb2de38daa99c5bee029e754b6 to your computer and use it in GitHub Desktop.
Save tbanj/0d5f0bbb2de38daa99c5bee029e754b6 to your computer and use it in GitHub Desktop.
Hosting an express app on netlify with simple steps
i) when you want to 1st create the project by connecting to your github project
ii) create your project, push it to github.
iii) Goto your netlify dashboard, click on create new project by the
importing project. Select github branch which netlify should use to be pushing from.
iv) When you get to build files leave it as your default settings
v) in th build type for Functions directory: functions
vi) publish directory leave it empty.
vii) leave all other fields as default
vii) Sample project is located on your macos netlify-host-node-demo
Use the file format that way
/Users/temitopealabi/Documents/levelup/personal_projects/netlify-host-node-demo/
https://github.com/tbanj/netlify-host-node-demo
to view logs of the nodejs application you hosted on netlify
https://app.netlify.com/sites/projectName/logs/functions/api
Reference from
@ Coding with Kazim https://www.youtube.com
https://www.youtube.com/watch?v=8x0Dty5D6CA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment