This is the repository of a very simple nodejs real project The goal of this code, is that you understand all the code and the reason Why I choose certain modules.
- How to start a nodejs project
- How to create routes for your server application
- How to use a template engine like ejs, handlebars, pug, etc.
- Call Assets from CDNs and use static files
- Divide content using partials feature from Template engines
- Deploy our app using a simple service called Now(A service from Zeit Company)
First, clone the repo
git clone https://github.com/FaztWeb/first-node-express-appmove to the folder
cd first-node-express-appinstall dependencies:
npm installexecute the project
npm run dev