Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Directus
  3. Directus Usage

Directus Usage

Scheduled Pinned Locked Moved Directus
7 Posts 4 Posters 1.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      J Offline
      JLX89
      wrote on last edited by
      #1

      Hello All,
      I've been spending the past few days taking a look around at tutorials and guides on using Directus.

      Does anyone have an example of Directus usage, where you're using Directus specifically for a backend and then creating an interactive Jamstack website with full functionality?

      I'm looking to try and create a fully functional website with account system, publishing posts, and allowing users to submit content. Specifically using Directus as the backend database and some sort of Jamstack for the frontend -- any suggestions and assistance would be greatly appreciated!

      Thank you!

      robiR 1 Reply Last reply
      3
      • J JLX89

        Hello All,
        I've been spending the past few days taking a look around at tutorials and guides on using Directus.

        Does anyone have an example of Directus usage, where you're using Directus specifically for a backend and then creating an interactive Jamstack website with full functionality?

        I'm looking to try and create a fully functional website with account system, publishing posts, and allowing users to submit content. Specifically using Directus as the backend database and some sort of Jamstack for the frontend -- any suggestions and assistance would be greatly appreciated!

        Thank you!

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        @marcusquinn has experience here

        Conscious tech

        1 Reply Last reply
        0
        • ruihildtR Offline
          ruihildtR Offline
          ruihildt
          wrote on last edited by
          #3

          I'm currently working on a project using Directus as backend and Vue (more specifically Quasar) as frontend.

          What do you want to know?

          J 1 Reply Last reply
          1
          • ruihildtR ruihildt

            I'm currently working on a project using Directus as backend and Vue (more specifically Quasar) as frontend.

            What do you want to know?

            J Offline
            J Offline
            JLX89
            wrote on last edited by
            #4

            @ruihildt said in Directus Usage:

            I'm currently working on a project using Directus as backend and Vue (more specifically Quasar) as frontend.

            What do you want to know?

            Is there some sort of static site generator or another option to to generate a site based off your directus installation? I'm looking for some sort of low-code solution using it, if possible?

            Thank you@

            ruihildtR 1 Reply Last reply
            0
            • J JLX89

              @ruihildt said in Directus Usage:

              I'm currently working on a project using Directus as backend and Vue (more specifically Quasar) as frontend.

              What do you want to know?

              Is there some sort of static site generator or another option to to generate a site based off your directus installation? I'm looking for some sort of low-code solution using it, if possible?

              Thank you@

              ruihildtR Offline
              ruihildtR Offline
              ruihildt
              wrote on last edited by
              #5

              @JLX89 Seems like you're looking for a frontend app low code solution like ToolJet which has been added to the Cloudron app wishlist.

              I don't know about alternatives. Sorry not to be more helpful.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                michaelpope
                wrote on last edited by michaelpope
                #6

                My use case is a little different than yours, so I don't have a tutorial, but Directus shouldn't be terribly hard to integrate with a JAM website.

                I'm currently using it as a source for a static website using Elder.js. Elder.js isn't a JAM - it's a static site generator - but it works kinda similarly. Directus works wonderfully for it.

                In most of the JAM stacks, there is a point for fetching data, and at that point (assuming your using Node.js here), you just use axios to call the endpoints that Directus exposes. When you want to create user accounts or whatnot, you make an API call to Directus.

                I don't know how well Directus would stand up to a busy traffic website performance wise, but I'm pretty sure it would do a great job for a low-to-moderate traffic website. It might be a good thing to ask them on their Discord, they are very friendly.

                A good way to picture Directus is that it's a nice frontend to an SQL database. So a lot of the things you'd care about with a regular database will matter with Directus. It's not going to automatically manage the accounts for you - but it's not hard to create a collection called 'Website Users' and just add a user account when someone registers on your site, and then verify it when they log in, managing the cookie or token appropriately.

                This of course means it isn't 'low-code', but it isn't 'that's a ton of code' either. (As a note, if your going for posts and logins and the likes, I'd stick with JAM, and stay away from static site generators - static site generators are really built for sites that don't have live content, not that you can't fenagle your way around it, but it's not what they are built for).

                If your looking for a bit more automation then that for logins... there's a few other frameworks that have built in libraries for user authentication, but the only one I remember really standing out as being 'easy' was Meteor (using their old UI framework called 'Blaze'). But Meteor is pretty different from Directus, and it's very opinionated, and usually requires a heavier server. Might not be what you are looking for.

                One thing I will warn you on Directus... sometimes, major version upgrades (think 8.?.? -> 9.0.0) don't work quite as planned (at least in my experience). So if you see they are going to put out a new major version soon, it might be worth holding out until they do. Just my personal experience though.

                Best of luck with your project!

                J 1 Reply Last reply
                2
                • M michaelpope

                  My use case is a little different than yours, so I don't have a tutorial, but Directus shouldn't be terribly hard to integrate with a JAM website.

                  I'm currently using it as a source for a static website using Elder.js. Elder.js isn't a JAM - it's a static site generator - but it works kinda similarly. Directus works wonderfully for it.

                  In most of the JAM stacks, there is a point for fetching data, and at that point (assuming your using Node.js here), you just use axios to call the endpoints that Directus exposes. When you want to create user accounts or whatnot, you make an API call to Directus.

                  I don't know how well Directus would stand up to a busy traffic website performance wise, but I'm pretty sure it would do a great job for a low-to-moderate traffic website. It might be a good thing to ask them on their Discord, they are very friendly.

                  A good way to picture Directus is that it's a nice frontend to an SQL database. So a lot of the things you'd care about with a regular database will matter with Directus. It's not going to automatically manage the accounts for you - but it's not hard to create a collection called 'Website Users' and just add a user account when someone registers on your site, and then verify it when they log in, managing the cookie or token appropriately.

                  This of course means it isn't 'low-code', but it isn't 'that's a ton of code' either. (As a note, if your going for posts and logins and the likes, I'd stick with JAM, and stay away from static site generators - static site generators are really built for sites that don't have live content, not that you can't fenagle your way around it, but it's not what they are built for).

                  If your looking for a bit more automation then that for logins... there's a few other frameworks that have built in libraries for user authentication, but the only one I remember really standing out as being 'easy' was Meteor (using their old UI framework called 'Blaze'). But Meteor is pretty different from Directus, and it's very opinionated, and usually requires a heavier server. Might not be what you are looking for.

                  One thing I will warn you on Directus... sometimes, major version upgrades (think 8.?.? -> 9.0.0) don't work quite as planned (at least in my experience). So if you see they are going to put out a new major version soon, it might be worth holding out until they do. Just my personal experience though.

                  Best of luck with your project!

                  J Offline
                  J Offline
                  JLX89
                  wrote on last edited by
                  #7

                  @michaelpope Awesome, thank you so much that gives me a good idea on how to approach it! I'm going to give that a shot and see how things turn out.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search