florianpallas / shattercms Goto Github PK
View Code? Open in Web Editor NEW[New Repository] https://github.com/shattercms/cms
Home Page: https://github.com/shattercms/cms
License: MIT License
[New Repository] https://github.com/shattercms/cms
Home Page: https://github.com/shattercms/cms
License: MIT License
The database connection in the gateway module should not be set to synchronize in production.
Authentication is an important and integral part of any API and should therefore be managed through the gateway module. There should be a standard to handle authentication, while still leaving enough breathing space for custom behavior, etc.
Authentication must be possible to change / enforce without touching the sub modules. The gateway needs to provide the current user and a function to test permissions to every sub module through the context. These two functions can then be provided by other modules, taking care of storing, managing permissions and authenticating users.
There must be no directives in use, as those would need to be added into each submodule.
Adding module specific type prefixes makes it impossible to merge types.
Layouts can provide a way to reuse a certain page structure in many places. Every page should have a layout property, defining the layout to be used. Layouts could include the Navigation and Footer elements for example.
As proper schema merging is disabled right now anyway, it would be easy to switch to just building the schema with TypeGraphQL and fixing those issues.
The generated declaration files depend on the types module, which can cause problems when only a single package is installed.
This module should make it easy to create a simple blog. It should take of creating, modifying, deleting, etc.
It could also be expanded to provide a comments, likes, categories and more.
Change the default database name to cms
, not cm
-
When requesting a page, the shards are not returned in order. To prevent the need to sort the shards on the client, they should get returned in the correct order from the server.
The module should take care of registering, logging in, handling sessions and authenticating users.
Use the context object in apollo server to include a config object which holds the config to each object as key.
{
"gateway": {
"dev": true
},
"shards": {
"secret": "1234"
}
}
Add the database connection options to the gateway constructor to give the user more control over the database name, username and password.
If possible the user should also be able to choose the type of database, although some problems could arise from that (Different databases require different decorators, etc).
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.