Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doniaskima/binary-and-blogs
Binary and Blogs is a modern blog platform built using NestJS, TypeORM, and MySQL. This platform is designed to provide a seamless space for developers and technology enthusiasts to share their thoughts, insights, and experiences within the realm of programming and technology.
https://github.com/doniaskima/binary-and-blogs
mysql nestjs socket-io typeorm typescript
Last synced: about 2 months ago
JSON representation
Binary and Blogs is a modern blog platform built using NestJS, TypeORM, and MySQL. This platform is designed to provide a seamless space for developers and technology enthusiasts to share their thoughts, insights, and experiences within the realm of programming and technology.
- Host: GitHub
- URL: https://github.com/doniaskima/binary-and-blogs
- Owner: doniaskima
- Created: 2023-09-22T21:36:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-23T19:49:40.000Z (about 1 year ago)
- Last Synced: 2024-10-12T22:51:45.631Z (3 months ago)
- Topics: mysql, nestjs, socket-io, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 1.22 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Binary and Blogs
Binary and Blogs is a blog platform built using NestJS, TypeORM, and MySQL. This platform aims to provide a space for developers and tech enthusiasts to share insights, stories, and updates in the world of programming and technology.
## Project Structure
The project follows a typical NestJS application structure:
- **controllers/**: Contains the controllers for handling HTTP requests.
- **dto/**: Data Transfer Objects for handling data validation and transformation.
- **entities/**: Database entities defined using TypeORM decorators.
- **middlewares/**: Custom middlewares used in the application.
- **modules/**: NestJS modules to organize the application.
- **services/**: Contains business logic and services.
- **main.ts**: The entry point of the application.## Tech Stack
- **NestJS**: A progressive Node.js framework for building efficient, scalable server-side applications.
- **TypeORM**: An Object-Relational Mapper (ORM) for TypeScript and JavaScript (ES7, ES6, ES5). It supports various databases, including MySQL.
- **MySQL**: A popular open-source relational database management system.## Class Diagram
Below is a simple representation of the class structure for the application:
![Class Diagram](Diagrams/diagramme-blog.png)
## Getting Started
1. Clone the repository.
2. Install the dependencies using `npm install`.
3. Set up your MySQL database and update the configuration in the `.env` file.
4. Run the application using `npm start`.Feel free to contribute and improve this project by submitting issues or pull requests.