A full-stack blogging platform built with Go (Gin) and Vue 3 (TypeScript). Features include user authentication (JWT), article posting, likes, exchange rates, Redis caching, and MySQL persistence. Fully containerized with Docker and ready for orchestration.
- Frontend Image: guojiaxuan2001/web01-frontend
- Backend Image: guojiaxuan2001/web01-backend
| Layer | Technology |
|---|---|
| Frontend | Vue 3, TypeScript, Vite |
| Backend | Go, Gin, Gorm, JWT |
| Database | MySQL |
| Cache | Redis |
| Container | Docker, Kubernetes (WIP) |
cd frontend
npm install
npm run devcd backend
go run .Make sure MySQL and Redis are running locally or via Docker.
⸻
Run with Docker
Start MySQL and Redis (Docker Compose recommended)
docker-compose up -d redis mysql
Frontend
docker pull guojiaxuan2001/web01-frontend
docker run -d -p 80:80 guojiaxuan2001/web01-frontendBackend
docker pull guojiaxuan2001/web01-backend
docker run -d -p 8080:8080 \
--env-file .env \
guojiaxuan2001/web01-backend