Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

228 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

博客系统 | Blog System

团队成员 | Team Members

  • Joy
  • Mia
  • Leo
  • Kevin

安装指南 | Installation Guide

后端配置 | Backend Configuration

  1. 进入后端目录 | Enter backend directory
cd backend
  1. 安装依赖 | Install dependencies
npm install
  1. 配置环境变量(创建 .env 文件)| Configure environment variables (create .env file)
PORT=3000
SERVER_URL=http://localhost:3000
# 支持多个域名,使用英文逗号分隔
CORS_ORIGINS=http://localhost:5173,http://localhost:4173

前端配置 | Frontend Configuration

  1. 进入前端目录 | Enter frontend directory
cd frontend
  1. 安装依赖 | Install dependencies
npm install
  1. 配置环境变量(创建 .env 文件)| Configure environment variables (create .env file)
VITE_OPENAI_API_KEY=your_openai_api_key_here
PUBLIC_API_URL=http://localhost:3000

测试账号 | Test Accounts

管理员账号 | Admin Accounts:

  1. Leo
  • 用户名 | Username:Leo
  • 密码 | Password:Leo1234
  1. Kevin
  • 用户名 | Username:Kevin
  • 密码 | Password:Kevin1234
  1. Mia
  • 用户名 | Username:Mia
  • 密码 | Password:Mia1234
  1. Joy
  • 用户名 | Username:Joy
  • 密码 | Password:Joy1234
  1. Vita
  • 用户名 | Username:Vita
  • 密码 | Password:Vita1234
  1. Tyne
  • 用户名 | Username:Tyne
  • 密码 | Password:Tyne1234
  1. Dewey
  • 用户名 | Username:Dewey
  • 密码 | Password:Dewey1234
  1. Cameron
  • 用户名 | Username:Cameron
  • 密码 | Password:Cameron1234
  1. Karson
  • 用户名 | Username:Karson
  • 密码 | Password:Karson1234

About

A collaborative blog system for managing posts, comments, and users.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages