Giter VIP home page Giter VIP logo

flow-platform's Introduction

Build status

Flow

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.

Libraries

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.

Roadmap

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):

Use cases/high-level features

  • 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

Technical stuff

  • 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

Implemented

  • ✅ 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.

If I have more time:

  • Instant messaging with friends
  • Blocking other users

License

The code is released under the MIT license.

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.