View as Json

Blog App Schema

Production-ready Blog schemas with support for MongoDB, PostgreSQL, and MySQL databases.

Database Support

Installation all schemas

npx servercn-cli@latest add schema blog-app

Installation individual schema

If you install schema individually, the relationships between them won't be automatic—you'll need to implement them manually.

1. User

npx servercn-cli@latest add schema blog-app/user

2. Post

npx servercn-cli@latest add schema blog-app/post

3. Category

npx servercn-cli@latest add schema blog-app/category

4. Comment

npx servercn-cli@latest add schema blog-app/comment

5. Post Like

npx servercn-cli@latest add schema blog-app/post-like

6. Comment Like

npx servercn-cli@latest add schema blog-app/comment-like

Learn more

File & Folder Structure

Loading files...
npx servercn-cli@latest add sc blog-app