The strongest socketIo framework, developed by myself, is the best in the world
CSS 32.19%HTML 12.59%JavaScript 55.23%
socketio's Introduction
He is a self-taught developer with 3+ years of experience who loves programming languages. He didn't study hard because someone hit him, so he didn't gain experience. He can be proficient in each subject that comes without practice and learning and study. He uses more than 14 languages such as c, c++, rust, go, c#, javascript, css, typescript, html, python, java, lua, delphi, android, shell.
run npm run build and npm start or directly run npm run build && npm start
If you want to start while watching, you have to open two terminals.
The first one is to run. npm run watch. The second one is to run npm run dev
see http://localhost:3000/user/str,This is an example of return string
see http://localhost:3000/user/json,This is an example of return json
Return * or rep.send (*) the effect is the same.Cannot be used at the same time
Static routing can use. HTML to avoid conflict with normal routing
Advantage
Babel uses the next generation of JS syntax sugar, which is the most concise and readable code in history
Support typeorm, the best typescript ORM framework, easily write all kinds of logic of Dao layer
With the blessing of fastify, its performance has entered the top five in the world, and its complexity has been further improved, and it can complete the best functions
Gulp can be called the king of automation. With gulp package, the code of Pro environment is more robust, but the volume is smaller
Nodemon can help more friendly development in the dev environment, but it also needs npm run watch:pro
Various plug-ins work together to allow partial use of static type modification and type inference to support back-end development and maintenance
Modular development makes the application easier to layer and provides an easy-to-use modular management mechanism
AOP code is written in a low-key way, but it is easy to realize log, interceptor, filter and other functions
MVC, API, websocket, microservice and other systems are constructed fastest, fastest and most fiercely
Points for attention
support experimental syntax just like obj::func、?.、??、|>、#、||=、&&=、@decorators、function*、do{...}
support strip-types. eg:function foo(one: any, two: number, three?): string {}
Patch of Windows users using CP or RM Linux command in src/windows-lib
What is missing from the schema now is the querystring and headers,but not interferences
Request characters will be accurate to case such as localhost:3000/post,iflocalhost:3000/POst will not right