Giter Club home page Giter Club logo

mern_stack_project_ecommerce_hayroo's Introduction

return {

- Linkedin : /hasan-py (https://www.linkedin.com/in/hasan-py/)
- Twitter : @hasan_py (https://twitter.com/https://twitter.com/hasan_py)
- Youtube : Hasan-py (https://www.youtube.com/channel/UCti7jZ-kT43b2nRnXRxM2xA)
- Play chess with me : hasan-Dev (https://lichess.org/@/hasan-Dev)

}

mern_stack_project_ecommerce_hayroo's People

Contributors

fida-ur-rehman avatar hasan-py avatar tranquanghuy0801 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  avatar  avatar  avatar

mern_stack_project_ecommerce_hayroo's Issues

Upload issue

Hi Hasan, this project is awesome but the upload isn't working. as you already quoted _In uploads folder you need create 3 folder like bellow. Folder structure will be like: public -> uploads -> 1. products 2. customize 3. categories_

but there is not uploads folder anywhere. Can you share the proper path for the same?

I have tried creating server/public/uploads/categories but while doing that getting

POST /api/customize/upload-slide-image 500 1267.869 ms - 277 Error: ENOENT: no such file or directory, open 'public/uploads/categories/1a.jpeg'

Loading Icon Spin Clockwise (minor issue)

The Loading Icons spins clockwise, which is the wrong direction according to the arrow direction of the SVG. The rotate direction should be reversed and it will be fine.
image

MongoError: E11000 duplicate key error collection: amazona.products index: name_1 dup key: { name: null }

I am getting this error when I am trying to add product second time through admin panel.

MongoError: E11000 duplicate key error collection:
amazona.products index: name_1 dup key: { name: null }
at Function.create (D:\a_project\project\server\node_modules\mongodb\lib\core\error.js:57:12)
at toError (D:\a_project\project\server\node_modules\mongodb\lib\utils.js:130:22)
at D:\a_project\project\server\node_modules\mongodb\lib\operations\common_functions.js:258:39
at handler (D:\a_project\project\server\node_modules\mongodb\lib\core\sdam\topology.js:943:24)
at D:\a_project\project\server\node_modules\mongodb\lib\cmap\connection_pool.js:350:13
at handleOperationResult (D:\a_project\project\server\node_modules\mongodb\lib\core\sdam\server.js:558:5)
at MessageStream.messageHandler (D:\a_project\project\server\node_modules\mongodb\lib\cmap\connection.js:281:5)
at MessageStream.emit (events.js:376:20)
at processIncomingData (D:\a_project\project\server\node_modules\mongodb\lib\cmap\message_stream.js:144:12)
at MessageStream._write (D:\a_project\project\server\node_modules\mongodb\lib\cmap\message_stream.js:42:5)
at writeOrBuffer (internal/streams/writable.js:358:12)
at MessageStream.Writable.write (internal/streams/writable.js:303:10)
at TLSSocket.ondata (internal/streams/readable.js:745:22)
at TLSSocket.emit (events.js:376:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9) {
driver: true,
index: 0,
code: 11000,
keyPattern: { name: 1 },
keyValue: { name: null }
}

Add env to git ignore

Hey Hasan, I happen to see your youtube video and came to view your code. The first thing I noticed is you have added all the API key to Github, make sure .env is not added to Github.

payment methode

how i can delete the payment and submit without BRAINTREE methode just fill the email , number

User Role

Hi , I want to know how you have managed user and admin Role

Business Logic leak

Hey Hassan ! i've saw your project online , i am a fan of MERN stack web , so i've review your source code , there's a lot of issues , and leak of business logic , and bugs

Screen Shot 2023-04-25 at 04 59 21

one of them, in this API endpoint , /api/user/edit-user , to provide the user an ability to update its profile data , in this case , you miss the proper validation of user's ID , i can bypass this and update someone else profile by getting its ID .

there's a lot of issues , i just liked your project , and decide to go along with it .

.env

I was reviewing your project on GitHub and noticed that the .env file is within the repository scope. I would like to suggest that you consider removing this file from the public scope of the project.

The .env file typically contains sensitive information such as API keys, passwords, and other confidential data. Having it within the project scope can pose a security risk, especially if other people collaborate on the repository or if the project is public.

I suggest you add the .env file to your .gitignore to ensure that it is not included in future commits. This way, sensitive information will not be shared accidentally.

Need DB Schema

Hi Hasan,

Firstly thanks for making this App.

I am trying to setup this app and I am not getting apps if I point the code to my local backend from DB.
Can you share the DB data from your website https://hayroo-1ynt.onrender.com, So that I can do it in my local.

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.