node-express-typescript

This project is a simple example of how to use Node.js, Express and TypeScript together.

Installation

npm install

Running the app

npm run dev

Folder Structure

The workspace contains two folders by default, where:


  • src: the folder to maintain sources
  • dist: the folder to maintain build files

```
├── dist
│   ├── controllers
│   │   └── index.js
│   ├── entities
│   │   └── index.js
│   ├── middlewares
│   │   └── index.js
│   ├── routes
│   │   └── index.js
│   ├── utils
│   │   └── index.js
│   ├── index.js
│   node_modules
│   src
│   ├── controllers
│   │   └── index.ts
│   ├── entities
│   │   └── index.ts
│   ├── middlewares
│   │   └── index.ts
│   ├── routes
│   │   └── index.ts
│   ├── utils
│   │   └── index.ts
│   ├── index.ts
│   package.json
│   package-lock.json
|   database.sqlite
│   README.md
│   tsconfig.json
│   tsconfig.paths.json
```