Your homework tonight is practice.
You must do this without any copy/pasta at least 5 times.
- Create a directory to place a node project in.
- Use
npm
to create apackage.json
and installexpress
andhbs
. - Add
node_modules
to a new.gitignore
. - Make a new JavaScript file which creates a new express application.
- Add two routes to the express application.
- Add an HTML page in your project which uses server side rendering.
- Make a route which returns JSON data.
- Use your JSON route from your server side rendered HTML page.
- Fork this repo, and clone it into your
develop
folder on your local machine.
- As you make code changes, frequently commit and push to GitHub.
- Once you've finished the assignment and pushed your work to GitHub, make a pull request from your fork to the original repo.