Coder Social home page Coder Social logo

idurar / mern-admin Goto Github PK

View Code? Open in Web Editor NEW
416.0 7.0 210.0 412 KB

MERN Antd Admin MongoDB Nodejs React Node Js Rest Api CRUD Auth

Home Page: https://cloud.idurarapp.com/

License: MIT License

JavaScript 95.44% HTML 2.32% Less 2.24%
antd-admin antd-admin-react react-admin react-admin-dashboard react-admin-panel react-admin-template react-boilerplate react-dashboard react-starter react-template

mern-admin's People

Contributors

aakash-a-dev avatar salahlalami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mern-admin's Issues

同学,您这个项目引入了210个开源组件,存在1个漏洞,辛苦升级一下

检测到 idurar/starter-antd-admin-crud-auth-mern 一共引入了210个开源组件,存在1个漏洞

漏洞标题:mpath module 安全漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2021-23438
漏洞描述:mpath module是一款使用类似MongoDB的路径表示法获取/设置javascript对象值的模块。
mpath module 0.8.4 之前存在安全漏洞,该漏洞源于类型混淆,如果输入是数组,则调用的方法是 Array.prototype.indexOf() 而不是 String.prototype.indexOf()。
影响范围:(∞, 0.8.4)
最小修复版本:0.8.4
缺陷组件引入路径:[email protected]>[email protected]>[email protected]

另外还有几个漏洞,详细报告:https://mofeisec.com/jr?p=aba3f8

connection not open to send() when getPastEvents call for smart contract subscribe

I am going to subscribe event from polygon mainnet token contract, but connection not open to send() error comes out
`
const { contractAddress } = process.env;

const Web3 = require('web3');

const url = 'wss://ws-mumbai.matic.today/';
const web3 = new Web3(url);

const options = {
reconnect: {
auto: true,
delay: 1000, // ms
maxAttempts: 1,
onTimeout: false,
},
address: contractAddress,
topics: [
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
],

function initSubscription() {
web3.eth
.subscribe('logs', options, (error, result) => {
if (!error) console.log('got result');
else console.log('error - ', error);
})
.on('data', (log) => {
console.log('got data', log);
})
.on('changed', (log) => {
console.log('changed');
});
}
};`

wss url is not right?

Craco

This error probably occurred because you updated react-scripts or craco. Please try updating craco-less to the latest version:

$ yarn upgrade craco-less

Or:

$ npm update craco-less

If that doesn't work, craco-less needs to be fixed to support the latest version.
Please check to see if there's already an issue in the DocSpring/craco-less repo:

If not, please open an issue and we'll take a look. (Or you can send a PR!)

You might also want to look for related issues in the craco and create-react-app repos:

at throwUnexpectedConfigError (C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\plugin-utils.js:29:11)
at throwError (C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:14:5)       
at C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:100:9
at Array.forEach (<anonymous>)
at createLessRule (C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:32:13)  
at Object.overrideWebpackConfig (C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:127:18)
at overrideWebpack (C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\features\plugins.js:42:40)
at C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\features\plugins.js:64:29
at Array.forEach (<anonymous>)
at applyWebpackConfigPlugins (C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\features\plugins.js:63:29)

(Use node --trace-warnings ... to show where the warning was created)
(node:11292) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11292) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

README for setting up the backend and database locally

Hello,

Can you provide some details on how to setup everything up for devs to work on the project as a boilerplate? there does not seem to be any documentation in the readme on setup. Specifically for the backend and database.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.