Coder Social home page Coder Social logo

szluyu99 / gin-vue-blog Goto Github PK

View Code? Open in Web Editor NEW
550.0 550.0 121.0 38.04 MB

Golang 全栈博客,支持 Docker Compose 一键部署。基于最新前后端技术栈 Vue3、TS、Unocs 、Redis 等。前端包含博文展示前台、博客后台管理系统。后端包含 JWT 鉴权、RBAC 权限控制等。代码质量高注释全接口文档完善,适合前后端开发者学习。

Home Page: https://www.hahacode.cn

License: MIT License

Shell 0.44% JavaScript 11.46% HTML 0.40% CSS 0.78% Vue 42.21% Dockerfile 0.43% Go 44.28%
blog docker gin golang gorm rbac typescript vue3

gin-vue-blog's Introduction

一个后端程序员 (Golang + Java),懂一点前端 (Vue),略懂一点移动端 (Flutter + Swift)。

对计算机技术充满兴趣,愿意并且希望可以研究各个领域的技术。希望可以当一个能够坚持终身学习的人!

zhenyu's GitHub stats

最近研究的一些项目:

✏️ 基于 Golang 和 Vue3 的全栈博客,包含博客前台、博客后台、博客后端

A full-stack blog built with Golang and Vue3, including a blog front-end, a blog back-end, and a blog server.

Readme Card

⚡ 一个根据配置生成 Restful CRUD API 的 Golang 库,可根据请求参数传递规则实现复杂查询

A Golang library that generates Restful CRUD APIs based on configuration, complex queries can be implemented based on the rules passed in through request parameters.

Readme Card

🪛 一个简化后端开发的 Golang 工具库:集成 gormpher, 内置用户 + 权限 + 鉴权模块, 动态 CURD 等。

A Golang utility library for simplifying backend development: integrates gormpher, built-in user+permission+authentication modules, dynamic CURD, etc.

Readme Card

🐰 基于 Golang 和 Vue3 的轻量级全栈后台管理系统,集成 UnoCSS UIRabbit

A lightweight full-stack management system based on Golang and Vue3, integrated with UnoCSS UI and Rabbit.

Readme Card

🌱 UnoCSS UI, 一个基于 UnoCSS 的 Vue3 组件库

UnoCSS UI, A Vue3 component library built on top of UnoCSS

Readme Card

📽️ 一个的 SwiftUI 示例项目(自带 Golang 服务端代码),之前偶然接触并学习 SwiftUI 后产出的一个项目(因为 SwiftUI 迭代非常快,不确定现在是否能正常运行🥹)

A SwiftUI sample project (with built-in Golang server-side code) that was created after accidentally learning SwiftUI. Due to the rapid iteration of SwiftUI, it is uncertain whether it can still run properly now.

Readme Card


还有一些以前乱七八糟的项目,略...

gin-vue-blog's People

Contributors

szluyu99 avatar txcisgood avatar woobai avatar yusael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gin-vue-blog's Issues

windows搭建后怎么访问呀

emm,,就是我server, front 都跑起来了 但是感觉缺了个web?没法直接通过浏览器访问。 想问下该怎么访问呢。
image

部署问题

20231210213206
xiang
20231210213231
部署完成后打开网页成这样,想问下这个是什么原因造成的,怎么解决,谢谢作者

docker-compose一键部署出错

docker-compose up -d

ERROR: The Compose file './docker-compose.yml' is invalid because:
services.gvb-server.ports is invalid: Invalid port "5678 # 前台服务端口:5678 # 前台服务端口", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.gvb-server.ports is invalid: Invalid port "8765 # 后台服务端口:8765 # 后台服务端口", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.gvb-server.depends_on contains an invalid type, it should be an array
[root@chatbot start]#

Docker搭建后局域网下无法访问

当我在机器A linux环境下搭好后, 本机可以正常访问
但是同局域网下的其他通过端口无法正常访问。只能出现一个网站的名称。如下图所示
image

gvb-web日志如下, 38秒是linux本机访问的,可以正常加载, 最后一条是windows通过局域网访问,无法正常加载,并且只有一条日志来着。
2023-01-14 17:53:38 172.12.0.1 - - [14/Jan/2023:09:53:38 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0" "-"
2023-01-14 17:53:38 172.12.0.1 - - [14/Jan/2023:09:53:38 +0000] "GET /assets/index.2100e4a9.css HTTP/1.1" 304 0 "http://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0" "-"
2023-01-14 17:53:38 172.12.0.1 - - [14/Jan/2023:09:53:38 +0000] "GET /assets/index.380a9828.js HTTP/1.1" 304 0 "http://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0" "-"
2023-01-14 17:53:38 172.12.0.1 - - [14/Jan/2023:09:53:38 +0000] "GET /api/front/home HTTP/1.1" 200 3355 "http://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0" "-"
2023-01-14 17:53:38 172.12.0.1 - - [14/Jan/2023:09:53:38 +0000] "GET /api/front/article/list?page_size=5&page_num=1 HTTP/1.1" 200 20015 "http://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0" "-"
2023-01-14 17:53:44 172.12.0.1 - - [14/Jan/2023:09:53:44 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-"

已测试 linux docker上运行其他web项目,局域网能正常访问。

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.