A light-weight social media platform. The platform is built with these purposes in mind:
1. To learn how to work with Blazor in asp.net.
2. To learn how to work with MongoDb.
3. To get more experience with planning and developing an application from scratch.
4. To practice clean architecture (again).
Another major reason for the project is to try out some lessons that I learned from my previous project, most notably to separate the Identity database from all the other data in the system -- this is expected to reduce pain by a lot.
The platform uses MediatR for CQRS and AutoMapper to facilitate mapping between objects in different layers. For testing the libraries xUnit, Moq and mongo2go are used.
The project just started, so there is a lot of work to be done. Some features that I aim to implement are (not in order):
- List of friends
- Feed filter
- "Cursor": When a user logs in, posts that are new since last time should be highlighted.
- Recursive liking of posts: Like a post, like that someone likes the post, like that someone likes that someone ...
- Notifications
- "Mentions" in posts
- Refactoring for promoting extendability and SOLID principles
- Refactor the way the logged in user is retrieved ✅
- Add caching to reduce the number of trips to the DB
- Add validation and more graceful error handling
-
✅ User registration/login
- Users can edit basic details of their profile.
- Users can upload a profile picture.
-
✅ Posting content to the flow
- The page is refreshed when the user creates a post.
- Posts link to profile details page.
-
✅ Viewing the feeds of other users ("world flow")
- Only posts that are actually visible on the screen are fetched from DB and rendered.
-
✅ Connecting with other users
- Users can now connect with each other by pressing the "add" button on another user's profile page.
-
✅ Viewing the posts made by friends only ("friend flow")
- If you want to see what your friends are doing you can navigate to the special flow dedicated to your friends.
- Instant messaging with friends
- Blocking other users
The code is released under the MIT license.