GoFrame Bootcamp Official Docs WebServer About Contact ↗
CTRL K
    GitHub
    CTRL K
      • About
      • Introduction
        • Installation
          • Go
          • GoFrame CLI
          • Docker
          • Database
            • MariaDB
        • Initialization
          • Database
          • Project
          • Code
        • Authentication
          • JWT
          • Cookie & Session
        • Start with CRUD
          • Add a controller
          • Create a message
          • Add a middleware
          • Retrieve a message
          • Update a message
          • Delete a message
        • Deploying
          • Daemon
          • Docker
          • Nginx
        • Conclusion
        • Additional Resources
          • Design Methodology
          • Database Schema Control
          • Access Control
      • Installation
        • Go
        • GoFrame CLI
        • Docker
        • Database
          • MariaDB
      • Initialization
        • Database
        • Project
        • Code
      • Authentication
        • JWT
        • Cookie & Session
      • Start with CRUD
        • Add a controller
        • Create a message
        • Add a middleware
        • Retrieve a message
        • Update a message
        • Delete a message
      • Deploying
        • Daemon
        • Docker
        • Nginx
      • Conclusion
      • Additional Resources
        • Design Methodology
        • Database Schema Control
        • Access Control
      • English
      • 简体中文
      Edit this page on GitHub →

      Start with CRUD

      In this chapter, you will learn more about controller, service and get familiar with dao related operations.

      Add a controller
      Create your api interface
      Create a message
      Insert record in database
      Add a middleware
      Use middleware to protect your api
      Retrieve a message
      Find record in database
      Update a message
      Update record in database
      Delete a message
      Soft delete and hard delete
      Powered by Hextra
      © 2024 UncleChair All Right Reserved.