Application for management of the human resources department of a company using the stack mean (Mongo + Mongoose, Express, Angular 2 and NodeJS) + TypeScript
// Create Employee
create(item: IEmployeeModel): Promise<IEmployeeModel> {
return new Promise<IEmployeeModel>((resolve, reject) => {
this.repository
.create(item)
.then(resolve)
.catch(reject);
});
}
To learn about development with NodeJS & Angular 2 using TypeScript
- Install TypeScript Compiler CLI utility.
npm install -g typescript
- Install Typings CLI utility.
npm install -g typings
- Install NPM modules.
npm install
- Install typings.
typings install
- Change constant DB_CONNECTION_STRING in Constants file and
npm start
TODO
TODO