gravity-ui / expresskit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
We should determine if we want to implement CSRF support in the ExpressKit itself or recommend using some pre-made middleware like https://www.npmjs.com/package/csrf
RW originalContext
is dangerous. Can we make it RO or (and) accessible by symbol?
Currently, in our private core framework, we use internal CSP package which wraps express-csp-header adding some common-used internal csp rules.
We should implement CSP support in ExpressKit using express-csp-header, and:
Current DI:
constructor(nodekit: NodeKit, routes: AppRoutes)
proposal:
constructor({nodekit}: {nodekit: : NodeKit}, routes: AppRoutes)
This allow in future to inject new overrides for baseMiddleware
We could support the possibility of building routes based on the Open API specification, since the routes.ts
structure is very similar to the OpenAPI one.
Could you add support of WebSockets please?
I see it as an ability to create a specified route and handler.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.