uconnect-technologies / wertik-js Goto Github PK
View Code? Open in Web Editor NEWπͺ A library that powers your app with GraphQL + Rest API
Home Page: http://wapgee.com/wertik
License: MIT License
πͺ A library that powers your app with GraphQL + Rest API
Home Page: http://wapgee.com/wertik
License: MIT License
Describe the bug
snakeCase(tableName) function in loadtables.js is not working properly. When table name is reviewType and it assigns a table name as review_type so this is not correct.
Solution
Make a new property in a module object called tableName and make it required to use it as a table name. The option must be under database.sql.tableName
Is your feature request related to a problem? Please describe.
Allow searching a model by its id, For example, Role, It should be RoleByPk or RoleById
Is your feature request related to a problem? Please describe.
Add support for PostgreSQL
Describe the bug
The documentation is outdated, Please update the documentation at wapgee.com/wertik-js.
Is your feature request related to a problem? Please describe.
Add support for all feature to stop them just like graphql and restApi
This is not an issue, But you can write a comment regarding a new feature in our boilerplate.
Is your feature request related to a problem? Please describe.
Allow searching a single item with different arguments
Describe the bug
WebSockets instance is not being passed to RestAPI req and GraphQL context
Todo
onClientConnected
and onMessageReceived
eventsIs your feature request related to a problem? Please describe.
There is docs folder under wertik-js and there should be a way to check docs in a server.
Describe the solution you'd like
When wertik-js is started, start a server that contains a documentation for rest api
Is your feature request related to a problem? Please describe.
Allow logs feature to be used with the database.
Todo
Make logs available in the database as well.
I was going through this library and Is there any function to send emails with templates option?
Is your feature request related to a problem? Please describe.
Currently wertik handles context creation by itself, There should be a function to that can also generate context from user end.
Describe the solution you'd like
There should be a function to that can also generate context from user end.
Describe alternatives you've considered
No
Additional context
No
Is your feature request related to a problem? Please describe.
No problem but a enahance to frontend app.
Describe the solution you'd like
A frontend app is provided and you have to setup auth in the frontend app.
Describe alternatives you've considered
No alternative
Additional context
See GraphQL mutations
Is your feature request related to a problem? Please describe.
Sometimes we need to login through another table, This option is required.
Describe the solution you'd like
There must be a mutation called LoginAs and we can pass args and tableName so we can login in to it as that table. Like there is a client table, There must be a Mutation to login it as loginasClient.
Update bcrypt-nodejs to other crypt library. When installing this errors shows:
npm WARN deprecated [email protected]: bcrypt-nodejs is no longer actively maintained. Please use bcrypt or bcryptjs.
Is your feature request related to a problem? Please describe.
Sorting feature is missing from list feature
Describe the solution you'd like
Please add sorting feature to list.
Use green for success messages.
Use red for error messages.
Is your feature request related to a problem? Please describe.
Move Documentation from Wapgee to Wertik
Steps
GraphQL or Rest API endpoint to show all stats. Like a number of Roles, Number of Users. A feature like statistics.
There is an error while signup, the error is:
invalid login: 535-5.7.8 Username and Password not accepted. Learn more atβ΅535 5.7.8 https://support.google.com/mail/?p=BadCredentials d24sm1100503wra.43 - gsmtp
Is your feature request related to a problem? Please describe.
Writing an article on setting up Wertik-js withe docker.
Is your feature request related to a problem? Please describe.
Write an article on building a chat application with wertik-js,
Describe the bug
An error pops up while updating:
Unknown column 'createdAt' in 'field list'
Is your feature request related to a problem? Please describe.
Use all table names and column names into underscored like userRole must be user_role, userId must be user_id and forgetPassword must be forget_password
Is your feature request related to a problem? Please describe.
Currently, the library can be imported wertik-js/lib/
, allow importing it from the root.
The goal of this task is to convert initializing into express like system.
Benefits:
Is your feature request related to a problem? Please describe.
It is not a problem.
Describe the solution you'd like
Please integrate Hasura.
Additional context
Hasura is same as Apollo GraphQL, It could be great if you could integrate Hasura in Wertik-js.
Is your feature request related to a problem? Please describe.
Not a problem, But a feature, Its GraphQL Voyager, It represents any GraphQL API as an interactive graph. It's time to finally see the graph behind GraphQL.
Describe the solution you'd like
GraphQL Voyager
Describe the bug
moduleById returning null on Mysql Dialect
Describe the bug
When not using restApi wertik-js still asks for expressApp while initializing
Todo
Make wertik-js no dependent on express when not using restAPI
Describe the bug
(node:7096) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
Wertik must allow developers to pass express app.
Please explain what's missing
Missing file for default options, For example this file https://github.com/Uconnect-Technologies/wertik-js/blob/master/src/framework/database/loadTables.ts#L29. Used direct, the options should be in a page.
Is your feature request related to a problem? Please describe.
Currently, the API docs are not being generated.
Describe the solution you'd like
The API docs should be generated to make it easy for devs to see all APIs.
Is your feature request related to a problem? Please describe.
Currently only returning item, now return stats after executing a query, For example for bulk create it was:
BulkCreateRole: [Role]
Now it should return items with rows effected and other stats, Like for BulkCreateRole, it should be
BulkCreateRole: {
rows_efftected: Int
rows: [Role]
}
Same goes for Rest API.
Is your feature request related to a problem? Please describe.
Currently, wertik-js only sends permissions, it could be great if it could send roles for a user.
Describe the solution you'd like
On each request, the context should also send assigned roles to the user.
Describe alternatives you've considered
No alternatives.
Additional context
No, it is easy to understand.
Is your feature request related to a problem? Please describe.
Write an article on Creating real-time task management with Wertik-js.
Frontend: React
Is your feature request related to a problem? Please describe.
Please support MongoDB Support.
Describe the solution you'd like
Mongoose js
Describe alternatives you've considered
Nothing.
Additional context
Please allow using MongoDB.
Is your feature request related to a problem? Please describe.
Allow cron jobs feature.
Describe the solution you'd like
For backend SaaS application Cron job feature is very important. So it could be great if there is a cron job feature.
Is your feature request related to a problem? Please describe.
Email feature is works with fake mailer, Please setup proper email in Wertik-js.
Potential security breach. Verified credentials in URL *redacted*:*redacted*@ds027719.mlab.com
in file \examples\demo\index.js
You should recycle your credentials immediately and move secrets to environment variables to prevent them being committed to GitHub.
Is your feature request related to a problem? Please describe.
In the event, pass CB as callback in Database Events.
Is your feature request related to a problem? Please describe.
Allow uploading feature. Uploading should be done from atleast:
Describe the solution you'd like
Use multer-js to upload documents.
Describe alternatives you've considered
formidable
Security: Allow blocking and unblocking IP's from configuration
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.