There are a few ways to do it:
1 - Not Recommended: Store in the project folder.
It is not recommended store so many images here, because it can cause data leak and loss, the project folder becomes too large without needed and it doesn't make much sense thinking about best practices.
But, here is an example if you want to:
Folder structure
/public
/images
img_name.png
img_name.png
...
/src
...
2 - Not Recommend: Store all images in Mongo DB.
It's not recommended because the database becomes too large and bulky, It also needs base64 convertion and Mongo DB file size limit is 16MB.
If you want to, please, read the this.
3 - Recommended: Store all images in cloud storage service, like Amazon S3, naming each one with your row id, for example:
Database table:
Users
id - name - email - password
1 - John - ... - ...
Image name:
Using just row id = 1.png
or concatenating with table name = user1.png