News

The main purpose of this repository is to show a working Node.js API Server and workflow for writing Node code in TypeScript. On the repository structure I use pattern named 'Repository-Service ...
In using the Repository design pattern, you can hide the details of how the data is eventually stored or retrieved to and from the data store. This data store can be a database, an xml file, etc.
The data access layer that the repository abstracts can be an ORM (i.e., Entity Framework or NHibernate), XML file, a web service, etc. It can even be a collection of SQL statements.
Decouple your code in service and repository layers to have more robust project structure. Trim down the controllers and focus the main business logic at service layer. In this architecture repository ...