Installing client-side dependencies
Now that we have NodeJS installed, we can install the project's client-side dependencies. As the focus of this chapter is Django and Python, we don't want to spend too much time styling our application and going through huge CSS files. However, we do want our application to look great, and for this reason we are going to install two things: Bootstrap and Font Awesome.
Bootstrap is a very well-known toolkit that has been around for many years. It has a very nice set of components, a grid system, and plugins that will help us make our application look great for our users when they are browsing the application on a desktop, or even a mobile device.
Font Awesome is another project that has been around for a while, and it is a font and icons framework.
To install these dependencies, we could just run the npm's install command. However, we are going to do better. Similar to pipenv
, which creates a file for our Python dependencies, npm
has something similar. This...