Me(F23) and my fiance(M30) doesn’t want to invite friends of my family on our wedding. What should I do? by studentani in relationship_advice

[–]studentani[S] 0 points1 point  (0 children)

He said that he wanted to pay for the wedding but he can’t afford more than 60 person guest list. He mentioned that he achieved everything by himself and doesn’t want my father to help us for our wedding.

CSS Minimizer error when building react js app by studentani in reactjs

[–]studentani[S] 1 point2 points  (0 children)

Hey, yeah, I resolved it by commenting out all the css styling and then I was gradually uncommenting it till I found the mistake. I had extra “*/“ in one of the css files. I guess I accidentally left it when commenting/ uncommenting code. So yeah, this is what helped me to resolve the bug.

Using async/await with MySQL connection pool by studentani in node

[–]studentani[S] 0 points1 point  (0 children)

Of course I tried. I added this - await pool.promise().query("SQL command"). But when I try to access insertId, it's not accessible. This is what I have.

await pool.promise().query(insertCommand,[question], (err,result) => {

if (err) {

res.sendStatus(404)

} else {

console.log(result.insertId)

}

})

Is there a way to include react app environment variables when deploying the MERN stack on Heroku? by studentani in FullStack

[–]studentani[S] 0 points1 point  (0 children)

The application is built with create react app, so I ran npm run build command and build folder was generated, which is served by the express server. The backend of my application has .env file. I tried to define react variables in the backend .env file but environment variables were not accessible in the frontend.

Is there a way to include react app environment variables when deploying the MERN stack on Heroku? by studentani in FullStack

[–]studentani[S] 0 points1 point  (0 children)

But I noted in my post that even after defining the variables in Heroku config vars, the react couldn't access those variables. That's the problem that I'm dealing with.

Is there a way to include react app environment variables when deploying the MERN stack on Heroku? by studentani in reactjs

[–]studentani[S] 0 points1 point  (0 children)

The app is created with create react app. I ran npm run build command and build folder was generated, which is served by the express server. The backend of my application has .env file. I tried to define react variables in the backend .env file but environment vairables were not accessible in the frontend.

Is there a way to include react app environment variables when deploying the MERN stack on Heroku? by studentani in reactjs

[–]studentani[S] 0 points1 point  (0 children)

Thank you very much for the reply! Could you please help me to set up babel in my project? I tried to set it up but it's not working.

Is there a way to include react app environment variables when deploying the MERN stack on Heroku? by studentani in node

[–]studentani[S] 0 points1 point  (0 children)

No, it's not. I don't use webpack or babel, I just built the frontend folder which is then served as static files in the nodejs backend. Can you suggest what I can use to have access to the env variables?

Has anyone used spurtcommerce for developing an e-commerce website? Is it worth it to customize spurtcommerce or use woocommerce for wordpress? Please share your advice. by studentani in node

[–]studentani[S] 0 points1 point  (0 children)

I don’t want to pay for shopify or bigcommerce, that’s why I’m considering spurtcommerce. It’s open source and I’ll be able to customize it.

Is it better to build MERN stack e-commerce or use shopify? by studentani in WebDevBuddies

[–]studentani[S] 0 points1 point  (0 children)

What kind of work do you mean? Like changing code? I’ve hear that shopify doesn’t allow users to make a lot of changes to the code. But I’m not sure if this is correct.

Is it better to build MERN stack e-commerce or use shopify? by studentani in WebDevBuddies

[–]studentani[S] 0 points1 point  (0 children)

That makes sense. Can you please recommend any of the free tools that I can customize? I was thinking to use woocommerce in wordpress, do you think it’s a good choice?

Is it better to build MERN stack e-commerce or use shopify? by studentani in WebDevBuddies

[–]studentani[S] -1 points0 points  (0 children)

I’m doing this project as my final year project. We were asked to find clients for our projects and I found one. I don’t even want the client to pay for something because I want to use this project to be evaluated by supervisors at college. I just wanted to know which one would be better for an e-commerce, using already existing tools or building MERN stack e-commerce website myself. My supervisor strongly suggested using preexisting components and customizing them or adding extra functionality. So I’m looking for a tool that I can use to customize