Directory

The directory structure

Your project structure might look like this:

├─ public  // Static Resources folder
├─ src 
│  ├─ api // Application API
│  ├─ common // General logic or tools
│  ├─ app.controller.ts   // A basic controller with a single route.
│  ├─ app.module.ts       // The root module of the application.
│  ├─ app.service.ts      // Basic services with a single method.
│  └─ main.ts             // The entry file for the application.
├─ .gitignore
├─ ...
└─ package.json
1
2
3
4
5
6
7
8
9
10
11