Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomoat/nest-boilerplate-project
https://github.com/tomoat/nest-boilerplate-project
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tomoat/nest-boilerplate-project
- Owner: tomoat
- Created: 2021-12-02T08:23:55.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T18:27:30.000Z (over 2 years ago)
- Last Synced: 2024-10-17T12:48:30.976Z (about 1 month ago)
- Language: TypeScript
- Size: 320 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nest Boilerplate project
## WIP: subtitle
###### WIP: description## Branches
|Name| Description |
| -- | ------ |
| master | Main code for production environment |
| staging | For stablity testing (weekly update) |
| dev | For development purposes |
| dev-{feature}-#{taskNumber} | For new features (they will be merged into dev branch) |# Project structure
###### Based on Nest.js Folder structure
> baham logics folders will be added after a more detailed look.📦backend
├──📦src # Main Codes of Application
| ├──📂constants # All the constants
| ├──📂services # Project Specific structure
| | ├──📂authenticaton # Authentication Logics
| | ├──📂authorizaton # Authorization Logics
| | └── ...
| | ├──📂notificaton # Notification Logics
| | ├──📂profiles # Users Logics
| ├──📂shared # Shared file like interceptors/helpers/logger/etc.
| ├────📜app.module.ts # App starter module
| ├────📜main.ts # App starter bootstrap
├──📂test # Test files (alternatively `spec`)
├────📜package.json
├────📜Dockerfile
├────📜tsconfig.json
├────📜development.env # enviroments file for local development
└── ...# Project database Collections
###### We are in early stage so there will be another collections for persist data
| Collection | Description |
| - | - |
| Users | فهرست کاربران و پروفایل هاشون |
| Auth_phone_verifications | برای هندل کردن سیستم لاگین |
| Auth_refresh_tokens | برای هندل کردن سیستم رفرش jwt |
| Auth_user_scopes | برای هندل کردن سطوح مختلف دسترسی |
| Media_items | فهرست کامل همه فایل های چند رسانه ای برای تمامی کالکشن ها |
| Notification_messages | فهرست پیام های فرستاده شده از طریق نوتیفیکشن سیستم |
| Notification_players | روشهای ارتباطی با کاربران شامل ایدی پوش یا ... |
|
# Project endpoints list
#### These are just endpoint more detail will be added to swagger files
`var baseUrl = api/v1/`
##### Authentication|Endpoint|Description|
| - | - |
| POST `authentication/signup/phone` | - |
| POST `authentication/signin/phone` | - |
| POST `authentication/refresh` | - |##### Users
|Endpoint|Description|
| - | - |
| GET `users/self` | - |
| PUT `users/self` | - |
| PUT `users/self/picture` | - |
| DELETE `users/self/picture` | - |