Is it possible to host/deploy Directus (Headless CMS) on some free hosting like GitHub?
Now I have Directus on my localhost, I installed it just with npm init directus-project api // create directus HEADLES CMS in API folder
then I have an access to it via http://localhost:8055/
It can really depend. GitHub will be a definite no as a 'free hosting provider' for any node apps, as GitHub Pages will only host static pages (AFAIK).
There aren't many free hosting providers that will support NodeJS applications, you might be able to find one host out there somewhere but it may take some work searching as all free providers have their own restrictions and there's no guarantee you'll have the freedom to build what you need.
I would highly recommend a Digital Ocean $5 Droplet, it's very cheap, and great at hosting Directus.
You can also use free/hobby plan of heroku.
Directus also provides one-click install on many platforms including heroku. Check out their GitHub page and read docs to learn more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With