Giter VIP home page Giter VIP logo

geek-navigation's Introduction

极客猿, 极客猿导航, 独立开发者导航, 导航资源站

独立开发者的导航站 
Demo | 更新日志 | 提BUG

极客猿导航截图

前台

Untitled

Untitled

Untitled

后台

Untitled

Untitled

Untitled

Untitled

Untitled

发展历程

起源于腾讯导航站,那时候刚接触前端,到底找网站模仿,这个导航站因此诞生了。

Untitled

上一个版本添加导航要修改 HTML,JSON 版本解决了管理导航修改代码问题,通过管理 JSON 文件的形式来管理所有的导航。

Untitled

上面版本的管理导航还是太麻烦,从这个版本开始,改为用数据库来管理,前台采用的 Vue 全家桶,服务端使用的框架是 Express,数据库是 Mongodb。

Untitled

Vue 动态导航是采用的单页面方式,非常不利于 SEO 优化,所以改用了 Nuxt SSR 的方式,这也是这个版本最大的改动。

Untitled

这个版本开始将不再进行大的改动,将持续迭代下去。

V3.0版本,最大的改动就是把项目拆分为三个子项目

  • Nuxt后台 -> Ant Design Pro后台
  • Express -> Eggjs

优化了整体代码,提高了代码可读和可维护性。

产品设计相关图

功能图 功能结构图 信息结构图

赞助

开源不易, 有了您的赞助, 我们会做的更好~

技术反馈和交流

项目部署

查看根目录下的 .gitlab-ci自动部署脚本,其它的部署方式后续再弄,大同小异。

贡献和支持

如果你想参与项目,那就尽管提PR吧,让我们共建一个 NO.1 的导航站吧。

如果觉得项目还不错, 就点个star吧~

geek-navigation's People

Contributors

dependabot[bot] avatar geekape 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  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

geek-navigation's Issues

访问报错

所有配置完成后访问域名报错Nuxt.js Internal Server Error

严重bug

直接在导航添加路径/admin 可以绕过权限直接访问到后台
如访问:http://navigate.ym1024.com/admin
可以直接进到后台,并且可以删除数据
你的导航守卫设置有问题啊

npm run serve时错误,我尝试百度解决,但是未能解决该问题

npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /root/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/root/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

BUG report

线上版本
点击左侧 设计 运营``产品中的某一个子分类后,前端分类会自动打开。

删除Pull request

刚刚不小心push过来一些内容,pull request已经close了,可以帮忙把pull request 删除吗,十分感谢

添加支持站内和站外搜索功能

非常感谢分享代码,很精巧使用。
正好最近在找一些可以做导航使用的开源代码,感觉很好,如果能增加一个支持站内站外搜索功能,我想会更完美,请教下,是否考虑增加这个功能。

nginx配置报错

location /api {
proxy_pass http://176.122.147.140:3000/api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location / {
try_files $uri $uri/ /index.html;
}
报错
nginx: [emerg] "location" directive is not allowed here in /www/server/nginx/conf/nginx.conf:91
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed

会出mysql版本吗?

虚拟主机一般没有mangodb,没有办法部署。
不知道以后会不会出mysql版本

账号密码在哪里?

很喜欢这个项目,运行起来没毛病,Vue还没有完全掌握,动态版直接一上来就是登陆懵了一下,没看懂账号密码在哪里设置

请问作者方便能写一个面向小白用户的readme吗

一直用的静态版,添加的时候改改html,有一天量太大了,于是想折腾折腾vue2版。

群晖用户,http后端服务器Apache HTTP Server2.2,php 7.0
下载了mongoDB,不晓得【数据库的名字】要怎么配置(官方文档只给了数据库用户名密码的环境写法)

一直无法成功启动

添加网站处 下拉菜单与自定义应该可以互相切换 以及下拉菜单可以做成多级菜单那种样式

  1. 点击自定义分类后,需要刷新才能回到原来下拉菜单的状态,这好像不太方便。如果用户输入了信息,但是不小心触发自定义分类,应该有切换按钮可以返回下拉菜单,以保留用户原来的输入。

  2. 目前的分类项有点多了好像,一次全部展示出来要找很久。所以最好的话可以做成二级菜单那种样式

给json版提供一个json制作器

做了一个excel文件,可以用他生成nav.json。不然直接对json动手挺累的。。。

navmaker.xlsx

做完需要利用这位哥的工具来输出, https://github.com/ylbs110/ExcelExportTool/

左侧的自动分类分组藏在js里,改起来眼也花。。。能把他也独立在一个单独的js或者json文件里吗?

技术不精,不会自己写代码。那个JekyII版的看起来虽美,本机部署什么ruby之类的也实在不想学。。。我只是想要做一个随时可以打包带走的静态导航站

可以添加 展开/收起 功能

如果某个栏目选项比较多,可以只展示部分,收缩。用户点击展开,就显示所用的选项。能否添加分页功能

部署问题咨询

hi 你好,两个问题请教一下:
1、导入数据报错如下:
node reptile/index.js
/root/install/geek-navigation/reptile/index.js:48
async function main() {
^^^^^^^^

SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)

1、启动服务报错如下:
npm run serve

[email protected] serve /root/install/geek-navigation
vue-cli-service serve

/root/install/geek-navigation/node_modules/open/index.js:16
const wslToWindowsPath = async path => {
^^^^

SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/root/install/geek-navigation/node_modules/@vue/cli-shared-utils/lib/openBrowser.js:9:14)

npm ERR! Linux 3.10.0-957.21.3.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] serve: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script 'vue-cli-service serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the geek-navigation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! vue-cli-service serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs geek-navigation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls geek-navigation
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /root/install/geek-navigation/npm-debug.log

安装挺耗资源的

npm i 命令之后,半个小时进度条只到一半,并且服务器负载和CPU全部100%,一核一G的配置,不知道是不是不正常

站内搜索

资源太多了以后,可能一下找不到,提供个搜索栏呗

TODO

  • Nuxt SSR

  • 首页加 keep-live

  • 适配下移动端

  • 本地数据库版本,有界面操作

  • mongoose 联表优化

  • 增加喜欢和浏览量

  • 增加提交作者名,信息

  • 增加搜索

  • 分页等接口优化

  • 审核列表状态切换

  • 提交排除重复网站

  • 自动化部署

  • 常用分类

  • 最近添加

  • 优化 README 文档

  • 提交网站分类可搜索

  • 一键拒绝审核列表

  • 后台网站编辑更新

  • 爬虫爬取失败手动填写

  • 验证 url

  • websitelist

  • 审核网站爬虫自动补全信息

  • 用户登录,默认第一次登录账号为管理员

本地安装报错

Build failed with error code: 1
npm ERR! Windows_NT 10.0.17763
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\geek-navigation-vue2\geek-navigation-vue2\npm-debug.log

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.