I have setup the Lemmy backend but I can’t see the backend running just only json is displaying. Lemmy ui is also setup properly but with very limited features. See the attached screenshot of the backend. I run “cargo run” command to start the Lemmy Backend

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    The lemmy backend doesn’t have a UI, all it talks is JSON through APIs. That’s what lemmy-ui is for, it’s the UI that goes on top. It’s also why the default setup overlays it on top of the backend: they’re meant to work together where the UI handles browser requests, but if it’s a JSON/API request then it goes to the server instead. They provide the same data in different formats on the same URLs.

    • akwebdevOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      @max-P thanks for the quick reply. but please tell me how can I manage my users the lemmy-ui has limited features.

      • Max-P@lemmy.max-p.me
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        You just go directly to the user’s page, and from there you can do things like ban/delete/purge.

        As for communities, you can promote users to moderators via the 3 dots overflow menu once they have posted/commented on a community.

        Otherwise, there just isn’t really a user management page or system. It’s a bit clunky but that’s how it works at the moment.

        • maxmoon
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          You just go directly to the user’s page, and from there you can do things like ban/delete/purge.

          I’ve created a test account, but emails didn’t work to verify and now I have an account I can’t resend verification and there isn’t a purge button.

          How exactly do you purge a user?

          • Max-P@lemmy.max-p.me
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            It’s a little bit clunky, you don’t have anything on the user’s page but if the user has any posts you can click the 3dots menu and it’s there.

            If the user has no posts you may need to delete from the database directly for now. There might be an API but I’m not familiar with Lemmy’s API.

            • maxmoon
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              but if the user has any posts

              They are unverified, they can’t have posts.

              If the user has no posts you may need to delete from the database directly for now.

              Do you know by any chance how to do this in a clean way, because I tried and there have been restovers.

      • Kayn@dormi.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        What would you like to manage?

        If you know SQL, you can view your users in the database directly.

        • akwebdevOP
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          1 year ago

          I actually manage my users like wants to see which user subscribed to the community, randomly send alerts to users, etc.

          I am very much familiar with SQL queries, but it is hard to run queries all the time.

          • RoundSparrow
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            randomly send alerts to users

            typically you make yourself moderator of a community or as admin of a site you can feature a post, make it appear at the top of the listing