Contact : [email protected]
the architecture of each feature is based on the MDC which is constituted mainly of 3 layers :
- Data
- Models
- Controllers
📦features
┗ 📂say_hello_to_world
┃ ┣ 📂controllers
┃ ┣ 📂data
┃ ┗ 📂models
📦project
┣ 📂.vscode
┃ ┗ 📜settings.json
┣ 📂envs
┃ ┣ 📜dev.env
┃ ┣ 📜prod.env
┃ ┗ 📜staging.env
┣ 📂lib
┃ ┣ 📂src
┃ ┃ ┣ 📂core
┃ ┃ ┃ ┣ 📂configs
┃ ┃ ┃ ┃ ┣ 📜inversify_config.ts
┃ ┃ ┃ ┃ ┣ 📜middle_config.ts
┃ ┃ ┃ ┃ ┗ 📜server_config.ts
┃ ┃ ┃ ┗ 📜init.ts
┃ ┃ ┣ 📂features
┃ ┃ ┃ ┣ 📂app_feats
┃ ┃ ┃ ┃ ┗ 📂hello_world
┃ ┃ ┃ ┃ ┃ ┣ 📂controllers
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜say_hello_to_world_controller.ts
┃ ┃ ┃ ┃ ┃ ┣ 📂data
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜hello_to_world_data.ts
┃ ┃ ┃ ┃ ┃ ┗ 📂models
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜user_model.ts
┃ ┃ ┃ ┗ 📂skeleton_feats
┃ ┃ ┃ ┃ ┗ 📂feature_name
┃ ┃ ┃ ┃ ┃ ┣ 📂controllers
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜.gitkeep
┃ ┃ ┃ ┃ ┃ ┣ 📂data
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜.gitkeep
┃ ┃ ┃ ┃ ┃ ┗ 📂models
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜.gitkeep
┃ ┃ ┗ 📂shared
┃ ┃ ┃ ┣ 📂constants
┃ ┃ ┃ ┃ ┣ 📜api_const.ts
┃ ┃ ┃ ┃ ┣ 📜number_const.ts
┃ ┃ ┃ ┃ ┗ 📜string_const.ts
┃ ┃ ┃ ┣ 📂extensions
┃ ┃ ┃ ┃ ┗ 📜express.d.ts
┃ ┃ ┃ ┣ 📂global
┃ ┃ ┃ ┃ ┗ 📜string_variable.ts
┃ ┃ ┃ ┣ 📂helpers
┃ ┃ ┃ ┃ ┗ 📜.gitkeep
┃ ┃ ┃ ┣ 📂logs
┃ ┃ ┃ ┃ ┗ 📜logger.ts
┃ ┃ ┃ ┣ 📂middlewares
┃ ┃ ┃ ┃ ┣ 📜token_middle.ts
┃ ┃ ┃ ┃ ┗ 📜uploder_middle.ts
┃ ┃ ┃ ┣ 📂results
┃ ┃ ┃ ┃ ┣ 📜result_failure.ts
┃ ┃ ┃ ┃ ┣ 📜result_success.ts
┃ ┃ ┃ ┃ ┗ 📜type.ts
┃ ┃ ┃ ┗ 📂services
┃ ┃ ┃ ┃ ┣ 📂cron_jobs
┃ ┃ ┃ ┃ ┃ ┣ 📂configs
┃ ┃ ┃ ┃ ┃ ┗ 📂requests
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜.gitkeep
┃ ┃ ┃ ┃ ┣ 📂jwt
┃ ┃ ┃ ┃ ┃ ┗ 📂requests
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜create_token_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜verify_token_request.ts
┃ ┃ ┃ ┃ ┣ 📂mongoose
┃ ┃ ┃ ┃ ┃ ┣ 📂configs
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜index_config.ts
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜mongoose_config.ts
┃ ┃ ┃ ┃ ┃ ┣ 📂requests
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜mongoose_delete_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜mongoose_get_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜mongoose_insert_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜mongoose_update_request.ts
┃ ┃ ┃ ┃ ┃ ┣ 📂schemas
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜user_schema.ts
┃ ┃ ┃ ┃ ┃ ┗ 📂utils
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜root_util.ts
┃ ┃ ┃ ┃ ┣ 📂security
┃ ┃ ┃ ┃ ┃ ┗ 📂requests
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜crypt_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜verify_request.ts
┃ ┃ ┃ ┃ ┗ 📂sql
┃ ┃ ┃ ┃ ┃ ┣ 📂configs
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜orm_config.ts
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜sql_config.ts
┃ ┃ ┃ ┃ ┃ ┣ 📂entities
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜user.ts
┃ ┃ ┃ ┃ ┃ ┗ 📂requests
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜sql_delete_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜sql_get_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜sql_insert_request.ts
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜sql_update_request.ts
┃ ┗ 📜index.ts
┣ 📂test
┃ ┗ 📜.gitkeep
┣ 📜.eslintignore
┣ 📜.eslintrc
┣ 📜.gitignore
┣ 📜.nvmrc
┣ 📜.prettierignore
┣ 📜.prettierrc
┣ 📜babel.config.json
┣ 📜ecosystem.config.cjs
┣ 📜jest.config.json
┣ 📜nodemon.json
┣ 📜package.json
┣ 📜readme.md
┣ 📜tsconfig.json
┗ 📜typedoc.json
After downloading or cloning the Git Repository
-
go to the project folder and copy all the content in your server's project
-
go into your package.json file, fill the following points:
- "name" : Specify the Project Name
- "description" : Specify the Project Description
- "url" : "git+url" (complete the url line with the git url of your repository)
- "author" : Specify the Project Author (Organisation name)
-
and type npm install to install all packages of Dependencies and Dev_Dependencies
Copyright © 2025 James Brel All Rights Reserved