File tree Expand file tree Collapse file tree 8 files changed +39
-22
lines changed
nav-admin/src/views/website
navigation/src/components Expand file tree Collapse file tree 8 files changed +39
-22
lines changed Original file line number Diff line number Diff line change 1
- <!-- TODO 说明文档待完成 -->
2
- # my-navigation-site
1
+ # 以极简为目的的网址导航
2
+ 因为自己工作及生活中需要用到一些网址导航的页面,但找到的一些网址导航项目要么过于复杂,要么有些基础功能都没有实现(比如没有后台管理),对于非程序员非常不友好。
3
3
4
- ## Project setup
5
- ```
6
- npm install
7
- ```
4
+ 在ChatGPT等AI技术发展火热的今天,我想虽然自己不太会写代码,但或许也能借助AI的力量实现一个简单的项目,所以开发了这样一个自己用的上,且能检验一下自己使用ChatGPT能力的网址导航项目。
8
5
9
- ### Compiles and hot-reloads for development
10
- ```
11
- npm run serve
6
+ ## 使用说明
7
+ ### 使用docker compose方式部署
8
+ 首先git clone本项目,进入项目目录,执行以下命令:
9
+ ``` bash
10
+ docker compose up -d
12
11
```
12
+ 等待部署完成,访问http://127.0.0.1:8888,即可访问网址导航页面。
13
13
14
- ### Compiles and minifies for production
15
- ```
16
- npm run build
17
- ```
14
+ ### 后台管理
15
+ 后台地址默认添加后缀/admin即可:http://127.0.0.1:8888/admin
16
+ 部署后,会自动创建一个管理员账号,账号名为admin,密码为123456。
17
+ 密码可在登录后修改。
18
+ 后续愉快的创建分类及网址就完事了。
19
+
20
+ ### 技术栈说明
21
+ 用户端:Vue.js
22
+ 后台管理:pureAdmin
23
+ 后端:fastapi
24
+ 数据库:sqlite
25
+
26
+ ### 项目截图
27
+ #### 用户端
28
+ ![ 用户端截图] ( ./images/用户端.jpg )
29
+
30
+ #### 后台管理
31
+ ![ 后台修改密码] ( ./images/后台修改密码.jpg )
32
+
33
+ ![ 后台修改密码] ( ./images/后台添加网址.jpg )
34
+
35
+ ## 致谢
36
+ - [ ChatGPT] ( https://chatgpt.com )
37
+ - [ pureAdmin] ( https://github.com/pure-admin/vue-pure-admin )
38
+ - [ 设计图] ( https://js.design/community?category=detail&type=resource&id=6231c96a70f79b38da026d4e )
39
+ - [ 那么,我是如何使用 ChatGPT 的] ( https://kenengba.com/post/3800.html )
40
+ - 感谢一个可以随时腾讯会议帮我看代码的朋友
18
41
19
- ### Lints and fixes files
20
- ```
21
- npm run lint
22
- ```
23
42
24
- ### Customize configuration
25
- See [ Configuration Reference] ( https://cli.vuejs.org/config/ ) .
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ const handleCategoryChange = (value: string) => {
72
72
<el-input
73
73
v-model =" newFormInline.url"
74
74
class =" !w-[300px]"
75
- placeholder =" 请输入网站url"
75
+ placeholder =" 请输入网站url,包含“http(s)://” "
76
76
/>
77
77
</el-form-item >
78
78
<el-form-item label =" 分类" >
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const processRelativePath = (path: string) => {
102
102
<el-input
103
103
v-model =" newFormInline.url"
104
104
class =" !w-[300px]"
105
- placeholder =" 请输入网站url"
105
+ placeholder =" 请输入网站url,包含“http(s)://” "
106
106
/>
107
107
</el-form-item >
108
108
<el-form-item label =" 图标" >
Original file line number Diff line number Diff line change 12
12
</div >
13
13
<div class =" footer" >
14
14
<a href =" https://github.com/DemoJ/ThinNav" target =" _blank" class =" footer-link" >
15
- <i class =" fab fa-github" ></i > Created by diyun
15
+ <i class =" fab fa-github" ></i > Created by Diyun and ChatGPT
16
16
</a >
17
17
</div >
18
18
</div >
You can’t perform that action at this time.
0 commit comments