TypeScript-Node-Starter
TypeScript-Node-Starter copied to clipboard
A reference example for TypeScript and Node with a detailed README describing how to use the two together.
The **chai** testing framework is not required as **Jest** comes bundled with `expect` and other utility methods. Following two files were using chai 1. user.test.ts 2. contact.test.ts Also removed chai...
… function in Express.It parses incoming requests with JSON payloads and is based on body-parser
Update User model augment express.Request with User model copy of #230 ; didn't know it's advised to push from separate branch.
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Getting this error: UnhandledPromiseRejectionWarning: MongoError: Invalid namespace specified '.system.indexes' After npm start. OS: windows 10 MongoDB server version: 4.2.0
tsconfig.tests.json | Config settings for compiling tests written in TypeScript I want to reference tsconfig.tests.json but It is not exists
When I click the [live demo](https://typescript-node-starter.azurewebsites.net/) I get this: "This site can’t be reachedtypescript-node-starter.azurewebsites.net’s server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN"
In the `src/models/User.ts` file, to hash the password using bcrypt, the program is using a Pre Middleware instead of a setter for the password: ``` /** * Password hash middleware....