fullstack-admin's People
Forkers
nine-sarayut vineet2121 lucianrotaru pterameta ramirezramirez125 lcsouzamenezes hackpros thembek saina34 noviarrizal jerrydev01 spurgeonprakash kaido12 akselozer9 drjseifu1991 xploregopi bishoplee yasinenifa henrymartinsb sanfrancisco-io j-m-harri samuelpauloantonio juliusaboagye mithunadhikari40 deepakverma91123 jesusds603 ahsanfarooq210 zoli1212 alexlam184 prajna1999 sibananda55 mohmmadsbeah priyanshu1129 nihar-kush abhishekbhartiind femfx dishant3022 iliassazoum rafarioro jcarrill0 sheivon yshubham theflexor venkateshbaddela juanlubel webcrawlersdev manaswini123456 muuhab ijowadali wgong sivaasit obka mokhairy2019 nicopicon98 git-init-roman89 lucasbahl dsafu themissplays collinpowell ahsanalibutt shaurya-567 ojasggg iambhaskarkulkarni gulfarazhassan nickrepenkoff hamzaamughal premitivecoding aysllanferreira svatticuti eris-182 azamatyudaev ped248 djaikalicharan madjed-hue ultimo123 nyanta2598 leroy-netizen rishan22 pyfundation osfatokunbo devr77 maharyfenitra claserobot abdou-web-dev ershubgupta sauryarajpandey winartozheng lilou09 harshz cliffgor royalmadrid foxcode2022 phreakygeek jeroenmac metaluv leo0807 thanshsrt ajchaghab webabbey247 tesfa-ethfullstack-admin's Issues
Implement aggregate query to get Product Stats
Create an aggregate controller for getProducts like the one implemented for getUserPerformance.
Sidebar overlaps with profile box
The box that includes the profile image, overlaps with the other lists in the sidebar. But for User experience, I was able to make them work independently
Here is the Before
And here is the after.
Here are the changes I made:
I made the Box position sticky rather than absolute so that the other list could flow independently without colliding with the profile box. And added some flex layout on the other boxes
const Sidebar = ({
user,
drawerWidth,
isSidebarOpen,
setIsSidebarOpen,
isNonMobile,
}) => {
// ...
return (
<Box component="nav">
{isSidebarOpen && (
<Drawer
// ...
>
<Box width="100%" display="flex" flexDirection="column" sx={{ position: "relative" }}>
{/* ... */}
<List sx={{ flex: 1, overflowY: "auto" }}>
{/* ... */}
</List>
<Box className="profileImage" sx={{
position: "sticky",
bottom: 0,
zIndex: 1,
backgroundColor: theme.palette.background.alt,
mt: "auto",
py: "1rem",
borderTop: `1px solid ${theme.palette.secondary[200]}`,
}}>
{/* ... */}
</Box>
</Box>
</Drawer>
)}
</Box>
);
};
export default Sidebar;
How fix "E11000 duplicate key error collection"
How to fix error like that, when start server i got that warning
writeErrors: [
{
err: {
index: 0,
code: 11000,
errmsg: "E11000 duplicate key error collection: test.products index: id dup key: { _id: ObjectId('63701d24f03239c72c00018e') }",
errInfo: undefined,
op: {
name: 'Port Beckley',
price: 311.71,
description: 'Revision of Nonaut Sub in Mouth/Throat, Via Opening',
thanks
Transaction Page
In the Data-grid pages are not changing #15 i tried changing the version didn't work
Nothing loads
Hey,
Just started up the file, added mongo_url to .env, installed all dependencies and while the server works really fast the react app is really slow.
The app took a good couple minutes to load, but I blame create react app for this, but after ten minutes it's still showing all the loading animations for the data.
Any help?
Error: <g> attribute transform: Expected ')', "…418789973288e-15translate(,),0tr…" in dashboard component
I have successfully set up both the frontend and backend of my project, and everything appears to be functioning correctly. However, I've encountered a specific issue in one component. The error I'm facing is related to the transform attribute of an SVG element. Notably, this error occurs exclusively in dashboard component.
Despite the fact that I haven't employed any animations, I've been diligently searching for the source of the error. I am hopeful that you can assist me in resolving this issue by reviewing the code in Git repository. Your expertise would be greatly appreciated in helping me diagnose and address this problem.
Error: attribute transform: Expected ')', "…418789973288e-15translate(,),0tr…".
useNewUrlParser and useUnifiedTopology are deprecated
In Index.js file appears
const PORT = process.env.PORT || 9000;
mongoose
.connect(process.env.MONGO_URL, {
useNewUrlParser: true,
useUnifiedTopology: true,
})
but those two have been deprecated and when running the server shows a warning
Products page
Uncaught runtime errors:
×
ERROR
Cannot read properties of undefined (reading 'map')
TypeError: Cannot read properties of undefined (reading 'map')
at Products (http://localhost:3000/static/js/bundle.js:1509:22)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:99560:22)
at updateFunctionComponent (http://localhost:3000/static/js/bundle.js:102442:24)
at beginWork (http://localhost:3000/static/js/bundle.js:104154:20)
at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:89152:18)
at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:89196:20)
at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:89253:35)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:109127:11)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:108374:16)
at workLoopSync (http://localhost:3000/static/js/bundle.js:108297:9)
Typo of sort comparison operator in transaction API
- [sortParsed.field]: sortParsed.sort = "asc" ? 1 : -1,
+ [sortParsed.field]: sortParsed.sort === "asc" ? 1 : -1,
App crashes on refresh after deployment
After deploying the on render.com, I noticed that the app crashes when refreshing. I checked the one you deployed as well and it has the same issue. I thought it is because of render's free plan and deployed it to netlify but the issue persisted. I believe the issue is because of routes but I couldn't figure it out. Do you mind taking a look at it? And it is really weird because it only happens after it is deployed - it is fine when ran locally.
on render
on netlify
Transaction page
sir, on my transaction page rows not varying to 25,50,100 & pages not changing.
Add installation in root README.md
Add installation and setup instructions in a README so you don't have to watch the whole video to understand how to do this
Some product details are missing on the products page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.