helloexpress
README.md
helloexpress
Commit history
- update a view count of a file, basic
- routes
- URL parameters
- partial-jade - in the user.jade we have the text that we would use as the list item - home.jade includes the user.jade - make sure that the object or vars that the partial expects are in memory
- jade style
- jade
- app.configure no longer required
- remove node directory
- Delete README
- ignore node_modules, update app.js, add nodemon
- regular layout, main content change when go to url - layout.jade wraps the page - block, content gives hook into layout.jade from home.jade - extends layout.template by block content // replaces
- pass data to view, - object literal pass to template - access from home.jade - assign js code to h2
- add jade files - templateing enginge
- More complex routes - view and edit a user's profile - use regex pattern matching
- post request to users route /users is where the signup form is located get the post request, the informatiuon is not passed in as part of the route but part of the body.
- route variables
- send html string to browser
- get req
- nothing
- Merge branch 'master' of github.com:ovidiucs/helloexpress
- delete
- routes 1. Require 2. Set Port 3. Create HTTP Server 4. Routes
- Create README.md
- First Commit
Files
8 tracked files
at master.
public
- hello.txt
views
- home.jade
- layout.jade
- user.jade
- .gitignore
- app.js
- package.json
- README.md