Coder Social home page Coder Social logo

gin-vue's Introduction

gin-vue

gin-gorm-vue基于gin实现一种MVC开发模式的架构,搭建一套中小型API.已经实现jwt登陆,Viper监控配置文件改动,并热加载配置文件

学习到知识

  • gin 框架的使用,渐进式的项目优化 gin 项目 MVC
  • jwt 与 中间件 在go 项目中的运用
  • Viper 监控配置文件改动,并热加载配置文件
  • 记录和管理日志
  • 数据库初始化:支持对多个数据库进行初始化和连接管理
  • 自定义业务错误信息
  • 统一处理响应格式
  • 处理读取和返回HTTP请求
  • cors处理
  • vue 的项目搭建
  • vue 的路由中间件
  • vuex 的使用 会不断更新

推荐的包

1.支持日志输出流配置,可以输出到 stdout 或 file,也可以同时输出到 stdout 和 file 2.支持输出为 JSON 或 plaintext 格式 3.支持彩色输出 4.支持 log rotate 功能 5.高性能

ORM 是 GitHub 上 star 数最多的 gorm,相较于其他 ORM,它用起来更方便,更稳定,社区也更活跃

有帮助到你记得点赞👍👍👍

gin-vue's People

Contributors

ikaijian avatar

Stargazers

 avatar  avatar  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.