Module 1 Summary
This lesson is a summary of the work we've done in Module 1.0.
This lesson is a summary of what we've done in Module 1.0.
In Module 1.0, we've built a very simple Node/Express/Typescript project.
package.json file of our app, we can see the
devDependencies our app depends on.
body-parser and the
express packages are our app's main dependencies. In our development dependencies, we've introduced the TypeScript ESLint packages, the
typescript. We've introduced two scripts in our app; the
start script which allows us to start the server and the
.eslintrc.json file sets up the configuration for our ESLint setup. We're using the
@typescript-eslint/parser package to help parse TypeScript code. We're extending the
@typescript-eslint/recommended package which contains a series of recommended rules. We've also added and customized a few rules of our own.
tsconfig.json file is responsible for setting up the configuration of our TypeScript project. We've stated the
build/ folder that is to be created in the root of the server project directory. We've introduced a
strict: true field in our configuration to enable a series of strict type-checking options.