Summary
In this chapter, we started work on the SportsStore project, and we demonstrated how the key features described in earlier chapters are combined to create a more realistic web application:
- The development tools monitor TypeScript files and other project resources so that the code is built and executed when changes are detected.
- The configuration system locates and merges JSON files to present consolidated settings that can be read consistently by the rest of the application and overridden with environment-specific values.
- Routes defined using the Express package handle HTTP requests and generate responses, using templates rendered by the Handlebars template engine.
- Custom error handlers produce responses consistent with the rest of the application and deal with errors in asynchronous request handlers.
- The
Sequelize
package creates a database that stores product data in an SQLite database, which will be replaced with PostgreSQL before deployment...