Skip to content

ltphen/socket.io-typescript-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A boilerplate for socket io typescript server

Folder Structure

.
+-- node_modules
|   +-- *
+-- src
|   +-- __test__
|   +-- common
|   +-- controllers
|   +-- types
|
|   +-- index.ts	

index.ts

the socket server entry point

common

application configurations and server instantiation

In this folder you can see:

  • authorization.ts : Handle middleware for user/socket security checks
  • socket.ts here we can register all our controller here and our socket server listerners
  • We have app.ts, server.ts and config.ts for the express server and the configurations

controllers

Application controllers/socket listeners an managers.

test

Folder for application unit test. to test :

npm test

About

A boilerplate for socket io typescript server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published