Next.js Discord

Discord Forum

Is it ok to use Tina CMS for a project

Answered
Australian Freshwater Crocodile posted this in #help-forum
Open in Discord
Australian Freshwater CrocodileOP
I'm making a website for someone, He doesn't have too much info about websites and how they work so they didn't mention what to use or do,
In another words I don't want to feel like I scammed someone or anything like this,
So my question is : Is it honest and good way to use Tina CMS (Or any open srouce cms) for a client website?
Answered by B33fb0n3
Yes, that's the right thinking. Build your own page from it so your customer dont have direct access to your cms
View full answer

40 Replies

Ok then I'll use it
Btw how should I host it?
Can I use vercel for that?
I mean for hosting the Tina provider
@Australian Freshwater Crocodile Btw how should I host it?
it looks like you can host it directly tina.io inside the cloud
Keep in mind, that you can't use the API, when you have a free plan
@B33fb0n3 Keep in mind, that you can't use the API, when you have a free plan
Australian Freshwater CrocodileOP
I don't want to pay for hosting it here
I have a vps
I think it would be possible to use all the features in vps
@Australian Freshwater Crocodile I have a vps
normally I think so too, but I couldn't find anything related to self hosting tina cms
@Australian Freshwater Crocodile what do you think about strapi: https://strapi.io/?
This can be self hosted and also cloud hosted. It's a very good CMS. Was my first cms ^^
Lemme try it out too
I had this mindset to always create the cms myself in admin dashboard and it was really stupid
and hard
Time for switching to a real cms
@Australian Freshwater Crocodile if you really want to have your own, then you should just host a database on your VPS and use your database with (for example) drizzle. It's waaaay easier and normally faster as well
Like using the db in my vps with cms like Strapi or Tina?
get this:
version: '3.9'

services:
  db:
    image: postgres:16.2
    container_name: db
    restart: always
    ports:
      - 5432:5432
    environment:
      - POSTGRES_PASSWORD=xxx
      - POSTGRES_USER=default
    volumes:
      - db_volume:/var/lib/postgresql/data
    command: -p 5432 -c idle_session_timeout=60000

  pgadmin:
    image: dpage/pgadmin4:8.4
    container_name: pgadmin
    restart: always
    environment:
      - PGADMIN_DEFAULT_EMAIL=root@example.com
      - PGADMIN_DEFAULT_PASSWORD=xxx
      - PGADMIN_LISTEN_PORT=8080
    ports:
      - "8080:8080"
    volumes:
      - pgadmin_volume:/var/lib/pgadmin

volumes:
  db_volume:
  pgadmin_volume:

Copy this code into your docker-compose.yml and run the command docker-compose up -d and you have a ✨ database ✨
@Australian Freshwater Crocodile Like using the db in my vps with cms like Strapi or Tina?
yea, then you have your DB and drizzle and don't need strapi or tina anymore
@B33fb0n3 yea, then you have your DB and drizzle and don't need strapi or tina anymore
Australian Freshwater CrocodileOP
Yeah but I still need to code the content editing page in my admin dashboard right?
@Australian Freshwater Crocodile Yeah but I still need to code the content editing page in my admin dashboard right?
if it's just MDX, then you can also just create the mdx file and it will be automatically available
@B33fb0n3 if it's just MDX, then you can also just create the mdx file and it will be automatically available
Australian Freshwater CrocodileOP
I don't have problem with this but most of the clients doesn't know what is markdown and how to use it
ah but they know how to use strapi or tina cms?
Australian Freshwater CrocodileOP
If it were up to me I'd use normal static pages and then rebuild it everytime
@B33fb0n3 ah but they know how to use strapi or tina cms?
Australian Freshwater CrocodileOP
Isn't it straight-forward?
Oh btw how do you authenticate cms?
Like allowing only the admin to edit content
Do they have a builtin auth system or I need to set it up?
@Australian Freshwater Crocodile Isn't it straight-forward?
I can only talk for strapi now and its... yea haha, no not really. If you configured everything and tell your customer "just go to this page" he may delete something that shouldnt be deleted or creates stuff that he shouldnt create. For example like new fields required fields in your dataschema what will cause, that all the uploaded content will run into an error as the required field is not filled. There are serveral things, that can create a headache for you. You should really think about it
Answer
@B33fb0n3 Yes, that's the right thinking. Build your own page from it so your customer dont have direct access to your cms
Australian Freshwater CrocodileOP
Well then lets get to it🔥 🙏