Giter Club home page Giter Club logo

story-cook-miniapp-be's Introduction

2024 Story-Cook-MiniApp-Backend

使用 golang 编写

项目名:故事厨房(微信小程序版) 前端:请见Heuluck的仓库

项目运行

手动执行

本项目使用Go Mod管理依赖。

下载依赖

go mod tidy

运行

go run main.go

主要依赖

名称 版本
golang 1.21.0
gin v1.9.1
gorm v1.9.16
mysql v1.7.0
jwt-go v3.2.0
logrus v1.9.3

项目结构

├─config                 # 存放配置文件
├─controller             # 控制器层,处理请求和返回响应
├─middleware             # 中间件,用于处理请求前和响应后的逻辑
├─model
│  ├─dao                 # 数据访问对象,用于与数据库交互
│  ├─dto                 # 数据传输对象,用于在不同层之间传递数据
│  └─vo                  # 封装返回前端的数据
├─pkg
│  ├─myErrors            # 自定义错误处理包
│  └─util                # 工具函数包
├─router                 # 路由处理逻辑
└─service                # 服务层,实现接口函数的具体逻辑

story-cook-miniapp-be's People

Contributors

est-nine avatar timeworndream avatar

Stargazers

 avatar Heuluck Lu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.