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-app
move to the folder
cd first-node-express-app
install dependencies:
npm install
execute the project
npm run dev