1

I am working on a project where I want to store the profile image of an user in the database. Actually what I want to is to store the image itself in database not its URL or address and also I should be able to get the images from database. I am using feathersjs and mongoose

0

1 Answer 1

1

There are multiple ways of doing that but base on your question, you did not start anything yet. How about you try this one.

https://github.com/feathersjs-ecosystem/feathers-blob

Sign up to request clarification or add additional context in comments.

2 Comments

okay thanks will look into it. So using this method we can actually store the image as binary data in the database?
yeah, but there might be some restrictions, please check docs.mongodb.com/manual/core/gridfs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.