Building Custom APIs With Strapi

Hosting on Digitalocean – Building Custom APIs With Strapi


Building Custom APIs With Strapi

Hosting on Digitalocean

Learn how to build a custom API quickly using Strapi ( an open-source Node CMS that lets you create your own APIs without having to write Node code.

Agenda:
0:00 – Introduction
2:43 – Strapi Overview
4:15 – Creating a Strapi Project
6:11 – Creating a Content Type
8:26 – Viewing the REST API
9:09 – Creating Content
11:35 – Making the API Public
15:15 – Viewing the Code
19:25 – Relationships
24:13 – GraphQL
33:01 – Counting Records
33:35 – Authenticating Users
36:27 – Creating Authenticated Posts
42:15 – Deploying to DigitalOcean
46:36 – Recap & Links

Presenter:
Chris Sev | |

Resources:
Learn more about Strapi:

New to DigitalOcean? Get US $100 in credit when you sign up:

To learn more about DigitalOcean:
Follow us on Twitter:
Like us on Facebook:
Follow us on Instagram:
We’re hiring:

#Strapi #APIs #DOTechTalks

you search:

Hosting on Digitalocean

Building Custom APIs With Strapi

23 thoughts on “Hosting on Digitalocean – Building Custom APIs With Strapi

  1. Just to clarify regarding images: uploaded images are not stored in the database, but rather in Strapi cache on the server it is running on. This is important, because if the cache is deleted, you will only have references to the media in the database, but not the files. At least if you are using MongoDB. This is easy to check if you upload Strapi to a free tier Heroku dino. They are deleted at some point after dino goes to sleep, and that deletes all your media data as well. So rather use a provider for media, something like Cloudinary.

  2. I looked inside my hostgator account dashboard and I can't install strapi the way you were able to with digital ocean. Soooo…. Can you create your strapi api and everything on local.. and then just do a mass file copying in filezilla to your hostgator hosted space and have eveything work?

    And I might even just use the hostgator part of this to serve as the backend and then install nextjs on netlify or vercel, and run the frontend from there and consume my strapi api over there on hostgator.

  3. Great video thanks! I just wish you were actually deploying to Digital Ocean.
    In your video you just create a Strapi Droplet with a brand new Strapi install.

    How do you actually deploy a strapi git repo to Digital Ocean? Not sure you can use the Strapi image, can you?

  4. I get errors about multiple dependencies being deprecated when installing 4:45 , I even downgraded my Node to v12x as I thought its the problem that comes with v14x, however the problem still persist. Am I missing something?

  5. hi,great content. Tried using Strapi but the "created_by" field keeps getting its users from my admin users rather than the authenticated user. How can i remove this annoying field please

Leave a Reply

Your email address will not be published. Required fields are marked *