Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload avatars + Docker Compose #878

Merged
merged 6 commits into from
Apr 7, 2021
Merged

Upload avatars + Docker Compose #878

merged 6 commits into from
Apr 7, 2021

Conversation

valentinyanakiev
Copy link
Member

Upload avatars logic + validation.

Added new common folder - utils. File and image utils are inside it.
Removed generic upload file mutation and the ipfs resolver - keeping the service methods intact, but the public API has been removed.
Moved the bulk of the logic in the ProfileService instead of the resolver.

To test it (easiest) --> Change the docker-compose server port mapping to 4000:4000 and run the client, log in, update your profile and add an avatar. If all is correctly implemented the avatar should be visible.

.env.demo.auth.provider.default Outdated Show resolved Hide resolved
docker-compose.yml Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
src/domain/community/profile/profile.service.ts Outdated Show resolved Hide resolved
src/services/ipfs/ipfs.service.ts Outdated Show resolved Hide resolved
@atstoyanov atstoyanov self-requested a review April 7, 2021 16:11
@valentinyanakiev valentinyanakiev merged commit 452c45a into develop Apr 7, 2021
@valentinyanakiev valentinyanakiev deleted the infra-107 branch April 7, 2021 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants