All Projects → serhiisol → Node Decorators

serhiisol / Node Decorators

Licence: mit
node-decorators

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Node Decorators

SocketIOUnity
A Wrapper for socket.io-client-csharp to work with Unity.
Stars: ✭ 69 (-70%)
Mutual labels:  socket, socket-io, socketio
express-boilerplate
ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
Stars: ✭ 83 (-63.91%)
Mutual labels:  socket, socket-io, expressjs
socket.io-react
A High-Order component to connect React and Socket.io easily
Stars: ✭ 67 (-70.87%)
Mutual labels:  socket, socket-io, decorators
Mean Angular4 Chat App
MEAN stack with Angular 4 Chat App
Stars: ✭ 41 (-82.17%)
Mutual labels:  expressjs, socket, socketio
Socket Controllers
Use class-based controllers to handle websocket events.
Stars: ✭ 191 (-16.96%)
Mutual labels:  decorators, socket, socket-io
bubbly
Full stack chat application created w/ Next.js, Socket.IO, Express, React and TypeScript
Stars: ✭ 24 (-89.57%)
Mutual labels:  socket-io, expressjs, socketio
socket.io-client-core
High-Performance Socket.IO client in C#
Stars: ✭ 70 (-69.57%)
Mutual labels:  socket, socket-io, socketio
chattt-backend
🖥 Backend for chattt
Stars: ✭ 17 (-92.61%)
Mutual labels:  socket, socket-io, expressjs
Bizsocket
异步socket,对一些业务场景做了支持
Stars: ✭ 469 (+103.91%)
Mutual labels:  socket, socketio, socket-io
Aaronvandenberg.nl
⚛️ Web Developers portfolio build with Gatsby.js & React.js
Stars: ✭ 98 (-57.39%)
Mutual labels:  expressjs, socketio, socket-io
React Socket Io
A react provider for socket.io, http://socket.io/
Stars: ✭ 111 (-51.74%)
Mutual labels:  socket, socketio
Angular Cms
An flexiable, extendable, modular, single CMS app based on Angular, Express, MongoDB
Stars: ✭ 109 (-52.61%)
Mutual labels:  expressjs, decorators
Rltm.js
Easily swap realtime providers with a single code base
Stars: ✭ 106 (-53.91%)
Mutual labels:  socket, socket-io
Socket.io Redux
Redux middleware to emit action via socket.io
Stars: ✭ 103 (-55.22%)
Mutual labels:  socket, socket-io
Sample Chat Electron
Socket.io based chat server and clients, implemented in NodeJS and distributed to Windows and MacOS.
Stars: ✭ 116 (-49.57%)
Mutual labels:  socket, socket-io
Graphql Live Query
Realtime GraphQL Live Queries with JavaScript
Stars: ✭ 112 (-51.3%)
Mutual labels:  socket, socket-io
Tsed
📐 Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.
Stars: ✭ 1,941 (+743.91%)
Mutual labels:  decorators, socket-io
Nuxt Socket Io
Nuxt Socket IO - socket.io client and server module for Nuxt
Stars: ✭ 148 (-35.65%)
Mutual labels:  socket, socket-io
Phpsocket.io
A server side alternative implementation of socket.io in PHP based on workerman.
Stars: ✭ 2,026 (+780.87%)
Mutual labels:  socketio, socket-io
Chatroom
vue2聊天室,图灵机器人,node爬虫
Stars: ✭ 103 (-55.22%)
Mutual labels:  socket, socketio

Node Decorators

Project implements decorators for modern tools for NodeJS like ExpressJS, Socket.IO

Installation

npm install @decorators/di --save
npm install @decorators/express --save
npm install @decorators/socket --save

Example of usage

Here's example of usage with Express framework. It uses TypeScript and @decorators/express package

import { Response, Params, Controller, Get, attachControllers } from '@decorators/express';
import { Injectable } from '@decorators/di';

@Controller('/')
@Injectable()
class UsersController {

  constructor(userService: UserService) {}

  @Get('/users/:id')
  getData(@Response() res, @Params('id') id: string) {
    res.send(this.userService.findById(id));
  }
}

let app: Express = express();

attachControllers(app, [UsersController]);

app.listen(3000);

Documentation

Look at the corresponding package for instructions

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].