1.3.4 • Published 3 years ago
macris v1.3.4
Macris
Usage
- Install macris with
yarn install macris
. - Create valid endpoint.graphqls file in root folder.
- Create handlers in "root-folder/handler" this can be typescript handlers.
- Compile typescript files.
- Run macris with "yarn macris"
Hint: Macris can only handle .js files.
Features
- Serving of static files from the "public" folder.
- Routines art startup.
- Routines with cron jobs adjustable from seconds on.
- Easy input validation.
Limitations
- If something gets deleted the returning sub elements of the returning values will return null or [] because the data is already deleted Eg Schema->pins: schema{id:"222",...., pins:[]}
Todo
- add roles via terminal to database
- read real default roles from database
- todo read real default role on startup from database
- write more unittests
- add HTTPS with https://stackoverflow.com/questions/11744975/enabling-https-on-express-js
- Replace noFilterOnNoID with filter method where this(look at schemahandler.schema.filter) gets created automatically and it only needs the args ids eg createArgsFilter("id","active") // const filter={ // args?:"id","active", // source?:"...", // required?:true // }
- Add terminal command init to initialize all folders, files and an example handler
Publish package
Run yarn version
1.3.4
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.0
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.1.12
3 years ago
1.1.11
3 years ago
1.1.10
3 years ago
1.1.13
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago