Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohamed-ramadan1/blog-backend-application
Blog api project
https://github.com/mohamed-ramadan1/blog-backend-application
aouth2 bull cloudinary cookies docker docker-compose express jwt-authentication mongodb mongoose multer node-corn node-mailer nodejs redis socket-io stripe swigger typescript winston-logger
Last synced: about 10 hours ago
JSON representation
Blog api project
- Host: GitHub
- URL: https://github.com/mohamed-ramadan1/blog-backend-application
- Owner: Mohamed-Ramadan1
- License: mit
- Created: 2024-10-19T06:17:59.000Z (28 days ago)
- Default Branch: main
- Last Pushed: 2024-11-13T11:22:06.000Z (3 days ago)
- Last Synced: 2024-11-13T12:25:29.711Z (3 days ago)
- Topics: aouth2, bull, cloudinary, cookies, docker, docker-compose, express, jwt-authentication, mongodb, mongoose, multer, node-corn, node-mailer, nodejs, redis, socket-io, stripe, swigger, typescript, winston-logger
- Language: TypeScript
- Homepage:
- Size: 659 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blog-backend-application
Blog api project
## Feature-based Modular Architecture
## project setup
```bash
.
├── docs/ # Documentation files
├── node_modules/ # Node.js dependencies
├── src/ # Source code
│ ├── config/ # Configuration files for the application
│ ├── email/ # Email-related functionality
│ ├── features/ # Core application features
│ │ ├── auth/ # Authentication feature
│ │ └── users/ # User management feature
│ │ ├── controllers/ # Request handlers
│ │ ├── dtos/ # Data Transfer Objects
│ │ ├── interfaces/ # TypeScript interfaces
│ │ ├── middlewares/ # Feature-specific middleware
│ │ ├── models/ # Data models
│ │ ├── routes/ # API route definitions
│ │ ├── services/ # Business logic
│ │ └── tests/ # Unit and integration tests
│ ├── jobs/ # Background tasks and cron jobs
│ │ ├── cronJobs/ # Scheduled tasks
│ │ ├── schedulers/ # Job schedulers
│ │ └── index.ts # Jobs entry point
│ ├── logging/ # Logging configuration and utilities
│ │ ├── formatters/ # Custom log formatters
│ │ ├── loggers/ # Logger instances
│ │ └── index.ts # Logging entry point
│ ├── middlewares/ # Application-wide middleware
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ ├── app.ts # Main application setup
│ └── index.ts # Application entry point
├── .dockerignore # Files to be ignored by Docker
├── .gitignore # Files to be ignored by Git
├── Docker-compose.yml # Docker Compose configuration
├── Dockerfile # Docker configuration
├── LICENSE # License file
├── package-lock.json # Locked versions of dependencies
├── package.json # Project metadata and dependencies
├── README.md # Project documentation (this file)
└── tsconfig.json # TypeScript configuration
```